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

Unified Diff: ui/aura/window.cc

Issue 196723009: Not submitted - Fixing invalid visibility states with layers which showed up in unittests ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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: ui/aura/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index c55651b95c0f71642ecd8166c1e7b2fa39e5b3eb..ba0f8a41595cabf43e86c9e37f97fb419dd37462 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -360,8 +360,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));
}
SetVisible(true);
}
« ash/wm/overview/window_overview.cc ('K') | « ash/wm/system_modal_container_layout_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698