| Index: components/dom_distiller/content/browser/distiller_page_web_contents.cc
|
| diff --git a/components/dom_distiller/content/browser/distiller_page_web_contents.cc b/components/dom_distiller/content/browser/distiller_page_web_contents.cc
|
| index a1fc869de5596b01f366db9d833fd1768317dde0..e458cf9650084eeb5ec1fe8ba011093008b746c3 100644
|
| --- a/components/dom_distiller/content/browser/distiller_page_web_contents.cc
|
| +++ b/components/dom_distiller/content/browser/distiller_page_web_contents.cc
|
| @@ -143,7 +143,7 @@ gfx::Size DistillerPageWebContents::GetSizeForNewRenderView(
|
| // in the executed domdistiller.js won't be 0.
|
| if (size.IsEmpty()) {
|
| DVLOG(1) << "Using fullscreen as default RenderView size";
|
| - size = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().size();
|
| + size = gfx::Screen::GetScreen()->GetPrimaryDisplay().size();
|
| }
|
| return size;
|
| }
|
|
|