summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-12 21:31:13 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-12 21:31:13 +0000
commit8c4cdd4cdae45e1fb81a8b3eaac9639abd6a2b30 (patch)
treeae17b06e0be7e6cad93e8f515a9e3d5d08dfa00c /chrome/browser/extensions
parent4f0db14eee2abfc9d52707761a65912b76eac392 (diff)
downloadchromium_src-8c4cdd4cdae45e1fb81a8b3eaac9639abd6a2b30.zip
chromium_src-8c4cdd4cdae45e1fb81a8b3eaac9639abd6a2b30.tar.gz
chromium_src-8c4cdd4cdae45e1fb81a8b3eaac9639abd6a2b30.tar.bz2
Moving the CLD code to the renderer so it runs sanboxed.
BUG= TEST=Run the unit-tests. Review URL: http://codereview.chromium.org/541013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36045 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r--chrome/browser/extensions/extension_tabs_module.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_tabs_module.cc b/chrome/browser/extensions/extension_tabs_module.cc
index 1e36294..edfd5f5 100644
--- a/chrome/browser/extensions/extension_tabs_module.cc
+++ b/chrome/browser/extensions/extension_tabs_module.cc
@@ -905,7 +905,7 @@ bool DetectTabLanguageFunction::RunImpl() {
// object that the language has been received.
contents->GetPageLanguage();
registrar_.Add(this, NotificationType::TAB_LANGUAGE_DETERMINED,
- NotificationService::AllSources());
+ Source<RenderViewHost>(contents->render_view_host()));
AddRef(); // balanced in Observe()
return true;
}