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

Unified Diff: athena/content/app_activity_registry.cc

Issue 659493007: Set AppActivityProxy window name for better Ctrl+Shift+Alt+W output (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@activitystate
Patch Set: Created 6 years, 2 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 | « athena/content/app_activity_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/content/app_activity_registry.cc
diff --git a/athena/content/app_activity_registry.cc b/athena/content/app_activity_registry.cc
index 4284346a3a89604bc45ae219d62e1044f3bb7920..5a6402f0e714711f3771c0464a697ac27ca62c3f 100644
--- a/athena/content/app_activity_registry.cc
+++ b/athena/content/app_activity_registry.cc
@@ -83,6 +83,7 @@ void AppActivityRegistry::Unload() {
// current activity.
unloaded_activity_proxy_ = new AppActivityProxy(GetMruActivity(), this);
ActivityManager::Get()->AddActivity(unloaded_activity_proxy_);
+ unloaded_activity_proxy_->GetWindow()->SetName("AppActivityProxy");
// This function can be called through an observer call. When that happens,
// several activities will be closed / started. That can then cause a crash.
« no previous file with comments | « athena/content/app_activity_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698