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

Unified Diff: ui/aura_shell/workspace/workspace_manager.cc

Issue 8399044: aura: Make sure the desktop widget gets parented to the correct container. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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 | « ui/aura_shell/examples/lock_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/workspace/workspace_manager.cc
diff --git a/ui/aura_shell/workspace/workspace_manager.cc b/ui/aura_shell/workspace/workspace_manager.cc
index f7a463f3ba43a06ae6708798dc7a2e1e7c956fae..14fda7923ec6315056a5b91559f99564d356d13a 100644
--- a/ui/aura_shell/workspace/workspace_manager.cc
+++ b/ui/aura_shell/workspace/workspace_manager.cc
@@ -120,7 +120,7 @@ void WorkspaceManager::SetOverview(bool overview) {
transform.SetTranslateX(dx);
transform.SetTranslateY(workspace_size_.height() * (1.0f - scale) / 2);
- } else {
+ } else if (active_workspace_) {
transform.SetTranslateX(-active_workspace_->bounds().x());
}
« no previous file with comments | « ui/aura_shell/examples/lock_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698