Index: Source/bindings/v8/V8WindowShell.cpp |
diff --git a/Source/bindings/v8/V8WindowShell.cpp b/Source/bindings/v8/V8WindowShell.cpp |
index 766218e96b245ab269194e26eb7550359804aad6..6d1d26f76e05a82587001fe96a141ff78c091506 100644 |
--- a/Source/bindings/v8/V8WindowShell.cpp |
+++ b/Source/bindings/v8/V8WindowShell.cpp |
@@ -65,10 +65,6 @@ |
#include <v8-debug.h> |
#include <v8.h> |
-#if defined(USE_I18N_EXTENSION) |
-#include <v8-i18n/include/extension.h> |
-#endif |
- |
namespace WebCore { |
static void checkDocumentWrapper(v8::Handle<v8::Object> wrapper, Document* document) |
@@ -274,11 +270,6 @@ void V8WindowShell::createContext() |
// Used to avoid sleep calls in unload handlers. |
ScriptController::registerExtensionIfNeeded(DateExtension::get()); |
-#if defined(USE_I18N_EXTENSION) |
- // Enable i18n API in V8. |
- ScriptController::registerExtensionIfNeeded(v8_i18n::Extension::get()); |
-#endif |
- |
// Dynamically tell v8 about our extensions now. |
const V8Extensions& extensions = ScriptController::registeredExtensions(); |
OwnArrayPtr<const char*> extensionNames = adoptArrayPtr(new const char*[extensions.size()]); |