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

Unified Diff: ui/aura/window.cc

Issue 237963019: Remove remaining window states where window is shown with opacity 0. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove forced relayouts in unittests after adding panel shelf icons. Created 6 years, 8 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 2c9aab82d83b371a3d53047c2822992457062638..899fdfdb047c14b76f8a72ce270380c75eb911c7 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -339,8 +339,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.
Mr4D (OOO till 08-26) 2014/04/22 14:45:54 Yippieh! (let's see what was not covered by unit t
- // TODO(skuhne): uncomment and fix issue 351553.
- // DCHECK(!(visible_ && layer()->GetTargetOpacity() == 0.0f));
+ DCHECK(!(visible_ && layer()->GetTargetOpacity() == 0.0f));
}
SetVisible(true);
}

Powered by Google App Engine
This is Rietveld 408576698