| Index: chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc
|
| diff --git a/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc b/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc
|
| index 7912627866d44b2705db1da7116288db7eab8b87..a905055f94bfce7b65109aa6ce345513ee65c368 100644
|
| --- a/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc
|
| +++ b/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc
|
| @@ -54,8 +54,8 @@
|
| #include "grit/theme_resources.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| +#include "ui/gfx/display.h"
|
| #include "ui/gfx/image/image_skia.h"
|
| -#include "ui/gfx/monitor.h"
|
| #include "ui/gfx/screen.h"
|
| #include "ui/views/widget/widget.h"
|
|
|
| @@ -1137,8 +1137,8 @@ Browser* InternetOptionsHandler::GetAppropriateBrowser() {
|
|
|
| float InternetOptionsHandler::GetIconScaleFactor() {
|
| gfx::NativeWindow window = GetNativeWindow();
|
| - gfx::Monitor monitor = gfx::Screen::GetMonitorNearestWindow(window);
|
| - return monitor.device_scale_factor();
|
| + gfx::Display display = gfx::Screen::GetMonitorNearestWindow(window);
|
| + return display.device_scale_factor();
|
| }
|
|
|
| void InternetOptionsHandler::NetworkCommandCallback(const ListValue* args) {
|
|
|