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 9b292260ba79d3ef83984857ca2400c6226192cc..5ad795025d1787c22cfb11ad1423c5418c977e26 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_util.h" |
+#include "ash/display/display_manager.h" |
#include "ash/shell.h" |
#include "base/bind.h" |
#include "base/logging.h" |
@@ -115,7 +115,8 @@ void DisplayOverscanHandler::HandleStart(const base::ListValue* args) { |
return; |
} |
- const gfx::Display& display = ash::ScreenUtil::GetDisplayForId(display_id); |
+ const gfx::Display& display = |
+ ash::Shell::GetInstance()->display_manager()->GetDisplayForId(display_id); |
DCHECK(display.is_valid()); |
if (!display.is_valid()) |
return; |