diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-31 22:31:04 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-31 22:31:04 +0000 |
commit | 9ee73628f9d8ec2998b6060805dac0efd825af44 (patch) | |
tree | 39b1016beca729c2295d8cc937bfd654040f83de /chrome/browser/extensions | |
parent | 30f9ac3cd37f6a4833be4ce0aefa969dea9a1808 (diff) | |
download | chromium_src-9ee73628f9d8ec2998b6060805dac0efd825af44.zip chromium_src-9ee73628f9d8ec2998b6060805dac0efd825af44.tar.gz chromium_src-9ee73628f9d8ec2998b6060805dac0efd825af44.tar.bz2 |
Hooking the UI part to the translate feature.
Review URL: http://codereview.chromium.org/549217
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37674 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r-- | chrome/browser/extensions/extension_tabs_module.cc | 2 |
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 7b9aef0..f85f054 100644 --- a/chrome/browser/extensions/extension_tabs_module.cc +++ b/chrome/browser/extensions/extension_tabs_module.cc @@ -897,7 +897,7 @@ bool DetectTabLanguageFunction::RunImpl() { // The tab contents does not know its language yet. Let's wait until it // receives it, or until the tab is closed/navigates to some other page. registrar_.Add(this, NotificationType::TAB_LANGUAGE_DETERMINED, - Source<RenderViewHost>(contents->render_view_host())); + Source<TabContents>(contents)); registrar_.Add(this, NotificationType::TAB_CLOSING, Source<NavigationController>(&(contents->controller()))); registrar_.Add(this, NotificationType::NAV_ENTRY_COMMITTED, |