Index: ui/aura/window.cc |
diff --git a/ui/aura/window.cc b/ui/aura/window.cc |
index c67c0a8ac4e84adf4bba478fe827e1a6ae766160..79ef0ce50c4712b545347cf645304fcd9fbbb1f3 100644 |
--- a/ui/aura/window.cc |
+++ b/ui/aura/window.cc |
@@ -223,7 +223,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. |
- DCHECK_IMPLIES(visible_, layer()->GetTargetOpacity() > 0.0f); |
+ DCHECK(!visible_ || layer()->GetTargetOpacity() > 0.0f); |
SetVisible(true); |
} |