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

Unified Diff: ash/wm/window_state_util.cc

Issue 1890713002: Adds WmWindow and converts WindowState to use it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge again Created 4 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
« no previous file with comments | « ash/wm/window_state_unittest.cc ('k') | ash/wm/window_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_state_util.cc
diff --git a/ash/wm/window_state_util.cc b/ash/wm/window_state_util.cc
index e5d6f8e1cdd9cf4c3207e3cb1c805c9232712e53..36d874433e82a9c5c8f1054bb289519cbeea1fd7 100644
--- a/ash/wm/window_state_util.cc
+++ b/ash/wm/window_state_util.cc
@@ -26,8 +26,8 @@ void ToggleFullScreen(wm::WindowState* window_state,
window_state->Restore();
} else {
// Set the property to activate full screen.
- window_state->window()->SetProperty(aura::client::kShowStateKey,
- ui::SHOW_STATE_FULLSCREEN);
+ window_state->aura_window()->SetProperty(aura::client::kShowStateKey,
+ ui::SHOW_STATE_FULLSCREEN);
}
}
« no previous file with comments | « ash/wm/window_state_unittest.cc ('k') | ash/wm/window_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698