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

Unified Diff: src/extensions/experimental/i18n-extension.cc

Issue 7004051: Some internal methods are requested when v8 is built as DLL (V8_SHARED), and (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/extensions/experimental/i18n-extension.cc
===================================================================
--- src/extensions/experimental/i18n-extension.cc (revision 7970)
+++ src/extensions/experimental/i18n-extension.cc (working copy)
@@ -78,4 +78,13 @@
static v8::DeclareExtension i18n_extension_declaration(I18NExtension::get());
}
+#ifdef V8_SHARED
+// We end up dragging in a call to Malloc::FatalProcessOutOfMemory by including
+// allocation.h, but that function isn't public V8 API so it's not available
+// when v8 is build as DLL.
+// Define it as a no-op here.
+void Malloced::FatalProcessOutOfMemory() {
Mads Ager (chromium) 2011/05/23 06:13:30 Why does this extension which is not a part of V8
+}
+#endif
+
} } // namespace v8::internal
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698