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

Unified Diff: runtime/platform/assert.cc

Issue 10968027: Fix Android build breaks (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove unused #include. Created 8 years, 3 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
« no previous file with comments | « no previous file | tools/gyp/configurations_android.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/platform/assert.cc
diff --git a/runtime/platform/assert.cc b/runtime/platform/assert.cc
index 2ea934965eb53437d05705ac9f73987982c421b9..cb7d21a09023182716af661edce3aebf78a73d12 100644
--- a/runtime/platform/assert.cc
+++ b/runtime/platform/assert.cc
@@ -4,7 +4,6 @@
#include "platform/assert.h"
-#include <cstdlib>
#include <sstream>
#include <string>
@@ -38,11 +37,11 @@ void DynamicAssertionHelper::Fail(const char* format, ...) {
// TODO(5411324): replace std::abort with OS::Abort so that we can handle
// restoring of signal handlers before aborting.
if (kind_ == ASSERT) {
- std::abort();
+ abort();
}
static bool failed = false;
if (!failed) {
- std::atexit(&failed_exit);
+ atexit(&failed_exit);
}
failed = true;
}
« no previous file with comments | « no previous file | tools/gyp/configurations_android.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698