summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-22 01:30:25 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-22 01:30:25 +0000
commit7d47247a01a05d53b4a28a397aefc72efa250bc2 (patch)
tree8806ce7df29d1283a0bc6a0c561e4897be435ee2 /chrome/browser/ui
parent4f627234be125dfff8e7e0a0cdfbee3d7d472a94 (diff)
downloadchromium_src-7d47247a01a05d53b4a28a397aefc72efa250bc2.zip
chromium_src-7d47247a01a05d53b4a28a397aefc72efa250bc2.tar.gz
chromium_src-7d47247a01a05d53b4a28a397aefc72efa250bc2.tar.bz2
Get rid of RenderViewHostDelegate::BrowserIntegration since it was unnecessary. RenderViewHost used to dispatch messages only to call that interface, and TabContents would do the work. Instead have TabContents dispatch the messages directly.
Review URL: http://codereview.chromium.org/6336012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72250 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui')
-rw-r--r--chrome/browser/ui/browser_navigator.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/ui/browser_navigator.cc b/chrome/browser/ui/browser_navigator.cc
index 4b25ab0..f9dca07 100644
--- a/chrome/browser/ui/browser_navigator.cc
+++ b/chrome/browser/ui/browser_navigator.cc
@@ -419,9 +419,8 @@ void Navigate(NavigateParams* params) {
}
if (user_initiated) {
- RenderViewHostDelegate::BrowserIntegration* integration =
- params->target_contents->tab_contents();
- integration->OnUserGesture();
+ static_cast<RenderViewHostDelegate*>(params->target_contents->
+ tab_contents())->OnUserGesture();
}
// Perform the actual navigation.