diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-01 08:45:15 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-01 08:45:15 +0000 |
commit | 7e0831b90c618af96931fcbd0908c4fd05ae0ec5 (patch) | |
tree | 6ae2ee1358ecb452ed7c06335ddd643ee47bc109 /chrome/browser/extensions | |
parent | 6db4b6c354f638cfe9beb849ca0ad0beb1bb4a8d (diff) | |
download | chromium_src-7e0831b90c618af96931fcbd0908c4fd05ae0ec5.zip chromium_src-7e0831b90c618af96931fcbd0908c4fd05ae0ec5.tar.gz chromium_src-7e0831b90c618af96931fcbd0908c4fd05ae0ec5.tar.bz2 |
Relanding the hooking of the translate feature UI.
See http://codereview.chromium.org/549217
Review URL: http://codereview.chromium.org/558065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37688 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, |