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

Unified Diff: chrome/browser/ui/webui/options/chromeos/display_overscan_handler.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
Index: chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc b/chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc
index a6f09483f1a05eaf1eea269675be78507c59497e..c176b0b0ca89cca60a61423176d420d807344d72 100644
--- a/chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc
@@ -7,7 +7,7 @@
#include <string>
#include "ash/display/display_controller.h"
-#include "ash/screen_ash.h"
+#include "ash/screen_util.h"
#include "ash/shell.h"
#include "base/bind.h"
#include "base/logging.h"
@@ -18,6 +18,7 @@
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/display.h"
+#include "ui/gfx/screen.h"
namespace chromeos {
namespace options {
@@ -108,7 +109,7 @@ void DisplayOverscanHandler::HandleStart(const base::ListValue* args) {
return;
}
- const gfx::Display& display = ash::ScreenAsh::GetDisplayForId(display_id);
+ const gfx::Display& display = ash::ScreenUtil::GetDisplayForId(display_id);
DCHECK(display.is_valid());
if (!display.is_valid())
return;

Powered by Google App Engine
This is Rietveld 408576698