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

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

Issue 10837192: Speculative revert to see if this change introduced a performance regression on Mac intl perf bots. (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_win.cc
===================================================================
--- chrome/browser/tab_contents/web_drag_bookmark_handler_win.cc (revision 150796)
+++ chrome/browser/tab_contents/web_drag_bookmark_handler_win.cc (working copy)
@@ -75,8 +75,8 @@
}
// Focus the target browser.
- Browser* browser = browser::FindBrowserWithWebContents(
- tab_->web_contents());
+ Browser* browser = browser::FindBrowserForController(
+ &tab_->web_contents()->GetController(), NULL);
if (browser)
browser->window()->Show();
}

Powered by Google App Engine
This is Rietveld 408576698