Index: src/extensions/i18n/i18n-extension.cc |
diff --git a/src/extensions/i18n/i18n-extension.cc b/src/extensions/i18n/i18n-extension.cc |
index 1c77b8899fbcfe527a38bd573de58747f3a7fc20..01fe526d88f371206ca644a40f7d0367c10d31f5 100644 |
--- a/src/extensions/i18n/i18n-extension.cc |
+++ b/src/extensions/i18n/i18n-extension.cc |
@@ -31,7 +31,6 @@ |
#include "break-iterator.h" |
#include "collator.h" |
#include "date-format.h" |
-#include "locale.h" |
#include "natives.h" |
#include "number-format.h" |
@@ -49,17 +48,6 @@ Extension::Extension() |
v8::Handle<v8::FunctionTemplate> Extension::GetNativeFunction( |
v8::Handle<v8::String> name) { |
- // Standalone, helper methods. |
- if (name->Equals(v8::String::New("NativeJSCanonicalizeLanguageTag"))) { |
- return v8::FunctionTemplate::New(JSCanonicalizeLanguageTag); |
- } else if (name->Equals(v8::String::New("NativeJSAvailableLocalesOf"))) { |
- return v8::FunctionTemplate::New(JSAvailableLocalesOf); |
- } else if (name->Equals(v8::String::New("NativeJSGetDefaultICULocale"))) { |
- return v8::FunctionTemplate::New(JSGetDefaultICULocale); |
- } else if (name->Equals(v8::String::New("NativeJSGetLanguageTagVariants"))) { |
- return v8::FunctionTemplate::New(JSGetLanguageTagVariants); |
- } |
- |
// Date format and parse. |
if (name->Equals(v8::String::New("NativeJSCreateDateTimeFormat"))) { |
return v8::FunctionTemplate::New(DateFormat::JSCreateDateTimeFormat); |