Index: extensions/renderer/i18n_custom_bindings.cc |
diff --git a/extensions/renderer/i18n_custom_bindings.cc b/extensions/renderer/i18n_custom_bindings.cc |
index 08d9e75aac39aac427d4fb70e0ebcb9f6f49e293..fd353832a83bb4b052a61f1d0ef3a28495173d8d 100644 |
--- a/extensions/renderer/i18n_custom_bindings.cc |
+++ b/extensions/renderer/i18n_custom_bindings.cc |
@@ -120,12 +120,12 @@ void InitDetectedLanguages( |
I18NCustomBindings::I18NCustomBindings(ScriptContext* context) |
: ObjectBackedNativeHandler(context) { |
RouteFunction( |
- "GetL10nMessage", |
+ "GetL10nMessage", "i18n", |
base::Bind(&I18NCustomBindings::GetL10nMessage, base::Unretained(this))); |
- RouteFunction("GetL10nUILanguage", |
+ RouteFunction("GetL10nUILanguage", "i18n", |
base::Bind(&I18NCustomBindings::GetL10nUILanguage, |
base::Unretained(this))); |
- RouteFunction("DetectTextLanguage", |
+ RouteFunction("DetectTextLanguage", "i18n", |
base::Bind(&I18NCustomBindings::DetectTextLanguage, |
base::Unretained(this))); |
} |