| Index: chrome/browser/metrics/metrics_log.cc
|
| diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc
|
| index 0df2ef1620a8b60832de354ec9b659c89213890a..e5847007226367442d082763b7df4a1a805b1573 100644
|
| --- a/chrome/browser/metrics/metrics_log.cc
|
| +++ b/chrome/browser/metrics/metrics_log.cc
|
| @@ -34,6 +34,7 @@
|
| #include "content/public/common/gpu_info.h"
|
| #include "content/public/common/content_client.h"
|
| #include "googleurl/src/gurl.h"
|
| +#include "ui/gfx/monitor.h"
|
| #include "ui/gfx/screen.h"
|
| #include "webkit/plugins/webplugininfo.h"
|
|
|
| @@ -264,7 +265,7 @@ PrefService* MetricsLog::GetPrefService() {
|
| }
|
|
|
| gfx::Size MetricsLog::GetScreenSize() const {
|
| - return gfx::Screen::GetPrimaryMonitorSize();
|
| + return gfx::Screen::GetPrimaryMonitor()->GetSize();
|
| }
|
|
|
| int MetricsLog::GetScreenCount() const {
|
|
|