Index: ui/aura/window.cc |
diff --git a/ui/aura/window.cc b/ui/aura/window.cc |
index 1e293b72343b994b81641e0f7570d74d2105ce0c..7fd54d1671097e84b9c24fb3978de2dffe9a26be 100644 |
--- a/ui/aura/window.cc |
+++ b/ui/aura/window.cc |
@@ -328,7 +328,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); |
} |