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

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

Issue 7060005: Experimental i18n extension breaks shared library build. Revert recent (Closed) Base URL: https://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 | « src/extensions/experimental/i18n.js ('k') | src/extensions/experimental/i18n-utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/extensions/experimental/i18n-extension.cc
diff --git a/src/extensions/experimental/i18n-extension.cc b/src/extensions/experimental/i18n-extension.cc
index 200fecfb6e7012bfc606d236cb846d9b01886256..88c609eadc059b82f307251c9c5960f3af6e9f24 100644
--- a/src/extensions/experimental/i18n-extension.cc
+++ b/src/extensions/experimental/i18n-extension.cc
@@ -29,7 +29,6 @@
#include "break-iterator.h"
#include "collator.h"
-#include "datetime-format.h"
#include "i18n-locale.h"
#include "natives.h"
@@ -60,8 +59,6 @@ v8::Handle<v8::FunctionTemplate> I18NExtension::GetNativeFunction(
return v8::FunctionTemplate::New(BreakIterator::JSBreakIterator);
} else if (name->Equals(v8::String::New("NativeJSCollator"))) {
return v8::FunctionTemplate::New(Collator::JSCollator);
- } else if (name->Equals(v8::String::New("NativeJSDateTimeFormat"))) {
- return v8::FunctionTemplate::New(DateTimeFormat::JSDateTimeFormat);
}
return v8::Handle<v8::FunctionTemplate>();
@@ -78,13 +75,4 @@ void I18NExtension::Register() {
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 | « src/extensions/experimental/i18n.js ('k') | src/extensions/experimental/i18n-utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698