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

Unified Diff: athena/extensions/athena_app_window_client_base.cc

Issue 602843002: Don't add the app activity as it's already added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/extensions/athena_app_window_client_base.cc
diff --git a/athena/extensions/athena_app_window_client_base.cc b/athena/extensions/athena_app_window_client_base.cc
index 00e08c95ea9081d9013eebf3f4e3fcee40b70729..0dead26a0aaef63f3bc3ca7e9398712c776d95e4 100644
--- a/athena/extensions/athena_app_window_client_base.cc
+++ b/athena/extensions/athena_app_window_client_base.cc
@@ -22,9 +22,8 @@ extensions::NativeAppWindow* AthenaAppWindowClientBase::CreateNativeAppWindow(
const extensions::AppWindow::CreateParams& params) {
AthenaNativeAppWindowViews* native_window = new AthenaNativeAppWindowViews;
native_window->Init(app_window, params);
- Activity* app_activity = ActivityFactory::Get()->CreateAppActivity(
- app_window, native_window->GetWebView());
- ActivityManager::Get()->AddActivity(app_activity);
+ ActivityFactory::Get()->CreateAppActivity(app_window,
+ native_window->GetWebView());
return native_window;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698