Index: src/extensions/i18n/i18n-extension.cc |
diff --git a/src/extensions/i18n/i18n-extension.cc b/src/extensions/i18n/i18n-extension.cc |
index e2cba8eb9ef987d65dcd8710246f923449c7a2aa..b5f28631e1f9b966ccb1ecc59f68b93498518dd1 100644 |
--- a/src/extensions/i18n/i18n-extension.cc |
+++ b/src/extensions/i18n/i18n-extension.cc |
@@ -28,7 +28,6 @@ |
#include "i18n-extension.h" |
-#include "break-iterator.h" |
#include "natives.h" |
using v8::internal::I18NNatives; |
@@ -43,31 +42,6 @@ Extension::Extension() |
0, |
I18NNatives::GetScriptsSource().length()) {} |
-v8::Handle<v8::FunctionTemplate> Extension::GetNativeFunction( |
- v8::Handle<v8::String> name) { |
- // Break iterator. |
- if (name->Equals(v8::String::New("NativeJSCreateBreakIterator"))) { |
- return v8::FunctionTemplate::New(BreakIterator::JSCreateBreakIterator); |
- } else if (name->Equals(v8::String::New("NativeJSBreakIteratorAdoptText"))) { |
- return v8::FunctionTemplate::New( |
- BreakIterator::JSInternalBreakIteratorAdoptText); |
- } else if (name->Equals(v8::String::New("NativeJSBreakIteratorFirst"))) { |
- return v8::FunctionTemplate::New( |
- BreakIterator::JSInternalBreakIteratorFirst); |
- } else if (name->Equals(v8::String::New("NativeJSBreakIteratorNext"))) { |
- return v8::FunctionTemplate::New( |
- BreakIterator::JSInternalBreakIteratorNext); |
- } else if (name->Equals(v8::String::New("NativeJSBreakIteratorCurrent"))) { |
- return v8::FunctionTemplate::New( |
- BreakIterator::JSInternalBreakIteratorCurrent); |
- } else if (name->Equals(v8::String::New("NativeJSBreakIteratorBreakType"))) { |
- return v8::FunctionTemplate::New( |
- BreakIterator::JSInternalBreakIteratorBreakType); |
- } |
- |
- return v8::Handle<v8::FunctionTemplate>(); |
-} |
- |
void Extension::Register() { |
static Extension i18n_extension; |