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

Unified Diff: src/api.cc

Issue 5005001: Split globals.h into two parts, where only one depends on V8. (Closed)
Patch Set: Created 10 years, 1 month 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: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 9da3346d7940cebbb49d60813c04d56a4466260f..0ceed2467a26c2c3fa3e82b95f2611c0f48dd601 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -124,6 +124,10 @@ static FatalErrorCallback& GetFatalErrorHandler() {
}
+void i::FatalProcessOutOfMemory(const char* location) {
+ i::V8::FatalProcessOutOfMemory(location, false);
+}
+
// When V8 cannot allocated memory FatalProcessOutOfMemory is called.
// The default fatal error handler is called and execution is stopped.

Powered by Google App Engine
This is Rietveld 408576698