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

Unified Diff: chrome/browser/tab_contents/web_drag_bookmark_handler_aura.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_aura.cc
===================================================================
--- chrome/browser/tab_contents/web_drag_bookmark_handler_aura.cc (revision 151481)
+++ chrome/browser/tab_contents/web_drag_bookmark_handler_aura.cc (working copy)
@@ -69,8 +69,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();
}
« no previous file with comments | « chrome/browser/tab_contents/render_view_context_menu.cc ('k') | chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698