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

Unified Diff: chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.cc

Issue 10831308: Revert 151036 - Speculative revert to see if this change introduced a performance regression on Mac… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/tab_contents/web_drag_bookmark_handler_gtk.cc
===================================================================
--- chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.cc (revision 151481)
+++ chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.cc (working copy)
@@ -84,8 +84,8 @@
}
// Focus the target browser.
- Browser* browser = browser::FindBrowserForController(
- &tab_->web_contents()->GetController(), NULL);
+ Browser* browser = browser::FindBrowserWithWebContents(
+ tab_->web_contents());
if (browser)
browser->window()->Show();
}

Powered by Google App Engine
This is Rietveld 408576698