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

Unified Diff: ash/common/wm/default_state.cc

Issue 2391153002: Converts most of WorkspaceLayoutManager tests to use common code (Closed)
Patch Set: cleanup Created 4 years, 2 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: ash/common/wm/default_state.cc
diff --git a/ash/common/wm/default_state.cc b/ash/common/wm/default_state.cc
index aa7a39ddff98b2ede3644536b30ea56dd2a8bacd..59a01191d93bab56f6e04ee6db4520a13330fec3 100644
--- a/ash/common/wm/default_state.cc
+++ b/ash/common/wm/default_state.cc
@@ -735,7 +735,7 @@ void DefaultState::UpdateBoundsFromState(WindowState* window_state,
window_state->Deactivate();
} else if ((window->GetTargetVisibility() ||
IsMinimizedWindowState(previous_state_type)) &&
- !window->GetLayer()->visible()) {
+ !window->GetLayerVisible()) {
// The layer may be hidden if the window was previously minimized. Make
// sure it's visible.
window->Show();

Powered by Google App Engine
This is Rietveld 408576698