Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4007)

Unified Diff: chrome/browser/ui/browser_navigator.cc

Issue 6336012: Get rid of RenderViewHostDelegate::BrowserIntegration since it was unnecessar... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser_navigator.cc
===================================================================
--- chrome/browser/ui/browser_navigator.cc (revision 72247)
+++ chrome/browser/ui/browser_navigator.cc (working copy)
@@ -419,9 +419,8 @@
}
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.

Powered by Google App Engine
This is Rietveld 408576698