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

Unified Diff: ash/wm/window_util.cc

Issue 138003007: [Cleanup] Screen cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make sure screen_for_shutdown is reset everytime Created 6 years, 11 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.cc ('k') | ash/wm/window_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_util.cc
diff --git a/ash/wm/window_util.cc b/ash/wm/window_util.cc
index cc131d13fa9b7e09885f2da62f6e26f4a830cd85..e6907384ccc762adbe3cf7aac2d17e090531bb10 100644
--- a/ash/wm/window_util.cc
+++ b/ash/wm/window_util.cc
@@ -7,7 +7,7 @@
#include <vector>
#include "ash/ash_constants.h"
-#include "ash/screen_ash.h"
+#include "ash/screen_util.h"
#include "ash/shell.h"
#include "ash/wm/window_properties.h"
#include "ash/wm/window_state.h"
@@ -71,7 +71,7 @@ void CenterWindow(aura::Window* window) {
window_state->SetRestoreBoundsInScreen(center);
window_state->Restore();
} else {
- center = ScreenAsh::ConvertRectFromScreen(window->parent(),
+ center = ScreenUtil::ConvertRectFromScreen(window->parent(),
center);
center.ClampToCenteredSize(size);
window->SetBounds(center);
« no previous file with comments | « ash/wm/window_state.cc ('k') | ash/wm/window_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698