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

Unified Diff: ash/wm/lock_window_state.cc

Issue 2051343002: Make various gfx classes more amenable to use as compile-time constants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile and test fixes Created 4 years, 6 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/wm/lock_window_state.cc
diff --git a/ash/wm/lock_window_state.cc b/ash/wm/lock_window_state.cc
index aabd475b1f767691d0bfa46114b6898ad4aeab0d..44dd5d189d224a2ee5c87714cdc3c78fee997fc0 100644
--- a/ash/wm/lock_window_state.cc
+++ b/ash/wm/lock_window_state.cc
@@ -37,10 +37,6 @@ LockWindowState::~LockWindowState() {
void LockWindowState::OnWMEvent(wm::WindowState* window_state,
const wm::WMEvent* event) {
- aura::Window* window =
- ash::WmWindowAura::GetAuraWindow(window_state->window());
- gfx::Rect bounds = window->bounds();
-
switch (event->type()) {
case wm::WM_EVENT_TOGGLE_FULLSCREEN:
ToggleFullScreen(window_state, window_state->delegate());

Powered by Google App Engine
This is Rietveld 408576698