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

Unified Diff: chrome/browser/extensions/extension_install_ui_default.cc

Issue 11348344: Remove last usages of FindTabbedBrowserDeprecated. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove presubmit check as well. Created 8 years 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/extensions/extension_install_ui_default.cc
diff --git a/chrome/browser/extensions/extension_install_ui_default.cc b/chrome/browser/extensions/extension_install_ui_default.cc
index 91965d4b8c012573a0640dbc50ab444766d5c3f9..febbea1207bfa2853898599fe4610da967651a16 100644
--- a/chrome/browser/extensions/extension_install_ui_default.cc
+++ b/chrome/browser/extensions/extension_install_ui_default.cc
@@ -184,7 +184,9 @@ void ExtensionInstallUIDefault::ShowThemeInfoBar(
return;
// Get last active tabbed browser of profile.
- Browser* browser = browser::FindTabbedBrowserDeprecated(profile, true);
+ Browser* browser = browser::FindTabbedBrowser(profile,
+ true,
+ chrome::GetActiveDesktop());
grt (UTC plus 2) 2012/12/03 15:54:39 if the user clicked on a link on the web store and
robertshield 2012/12/03 20:25:58 Sometimes. This is called from OnInstallSuccess, w
if (!browser)
return;

Powered by Google App Engine
This is Rietveld 408576698