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

Unified Diff: ui/aura/window.cc

Issue 280383009: Fixing invalid window opacity/visibility combination with the shelf (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« ash/shelf/shelf_layout_manager.cc ('K') | « ash/shelf/shelf_layout_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index fe1ba06a4fa241b0e44b8f1c5676f48d62025790..b270f36544e4515ea805ce7181b7ff63ae4f9d02 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -338,8 +338,7 @@ void Window::Show() {
// It is not allowed that a window is visible but the layers alpha is fully
// transparent since the window would still be considered to be active but
// could not be seen.
- // TODO(skuhne): uncomment and fix issue 351553.
- // DCHECK(!(visible_ && layer()->GetTargetOpacity() == 0.0f));
+ DCHECK(!(visible_ && layer()->GetTargetOpacity() == 0.0f));
sky 2014/05/13 21:43:07 I think you should land this separately. That way
Mr4D (OOO till 08-26) 2014/05/13 22:08:17 Indeed! Thanks, good idea! Done.
}
SetVisible(true);
}
« ash/shelf/shelf_layout_manager.cc ('K') | « ash/shelf/shelf_layout_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698