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

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

Issue 7059007: Merge temporary fix for shared library build to trunk. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
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 | src/version.cc » ('j') | 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 7972)
+++ 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() {
+}
+#endif
+
} } // namespace v8::internal
« no previous file with comments | « no previous file | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698