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

Unified Diff: Source/bindings/v8/V8WindowShell.cpp

Issue 20083002: Remove references to the v8-i18n extension in blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | « Source/bindings/bindings.gyp ('k') | Source/core/core.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()]);
« no previous file with comments | « Source/bindings/bindings.gyp ('k') | Source/core/core.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698