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

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.cc

Issue 10534098: TabContentsWrapper -> TabContents, part 51. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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/webui/ntp/app_launcher_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
index ce247a143cec39c2ffbde43fb709dca938f77da0..a07b3bebe14d597c29254cb125e03fb6f60f3758 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
@@ -569,7 +569,7 @@ void AppLauncherHandler::HandleLaunchApp(const ListValue* args) {
Browser* browser = browser::FindLastActiveWithProfile(profile);
WebContents* old_contents = NULL;
if (browser)
- old_contents = browser->GetSelectedWebContents();
+ old_contents = browser->GetActiveWebContents();
WebContents* new_contents = application_launch::OpenApplication(
profile, extension, launch_container, GURL(url),

Powered by Google App Engine
This is Rietveld 408576698