Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(512)

Unified Diff: runtime/bin/file_linux.cc

Issue 9189003: Move assert.h/assert.cc from runtime/vm to runtime/platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing vm/assert.h for _macos, _win, _arm and _x64 files Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/file_linux.cc
diff --git a/runtime/bin/file_linux.cc b/runtime/bin/file_linux.cc
index 00a0e4ec22335ca191136b5138c731426e875772..054e310ad731033e441d1b7a428443dc86e6396b 100644
--- a/runtime/bin/file_linux.cc
+++ b/runtime/bin/file_linux.cc
@@ -158,7 +158,7 @@ char* File::GetCanonicalPath(const char* pathname) {
do {
abs_path = realpath(pathname, NULL);
} while (abs_path == NULL && errno == EINTR);
- assert(abs_path == NULL || IsAbsolutePath(abs_path));
+ ASSERT(abs_path == NULL || IsAbsolutePath(abs_path));
}
return abs_path;
}

Powered by Google App Engine
This is Rietveld 408576698