| Index: content/browser/devtools/protocol/page_handler.cc
|
| diff --git a/content/browser/devtools/protocol/page_handler.cc b/content/browser/devtools/protocol/page_handler.cc
|
| index df22884140ee83145ca0f06646d33d519bb7dc19..7b5f47fb596af79f5ed8bbc230b104fcbc185833 100644
|
| --- a/content/browser/devtools/protocol/page_handler.cc
|
| +++ b/content/browser/devtools/protocol/page_handler.cc
|
| @@ -31,7 +31,6 @@
|
| #include "content/public/browser/storage_partition.h"
|
| #include "content/public/browser/web_contents_delegate.h"
|
| #include "content/public/common/referrer.h"
|
| -#include "third_party/WebKit/public/platform/WebScreenInfo.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| #include "ui/base/page_transition_types.h"
|
| #include "ui/gfx/codec/jpeg_codec.h"
|
| @@ -471,9 +470,9 @@ void PageHandler::InnerSwapCompositorFrame() {
|
| gfx::ScaleSize(gfx::SizeF(view->GetPhysicalBackingSize()),
|
| 1 / metadata.device_scale_factor);
|
|
|
| - blink::WebScreenInfo screen_info;
|
| + content::ScreenInfo screen_info;
|
| GetWebContents()->GetView()->GetScreenInfo(&screen_info);
|
| - double device_scale_factor = screen_info.deviceScaleFactor;
|
| + double device_scale_factor = screen_info.device_scale_factor;
|
| double scale = 1;
|
|
|
| if (screencast_max_width_ > 0) {
|
|
|