summaryrefslogtreecommitdiffstats
path: root/components/dom_distiller/content/browser/distiller_page_web_contents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/dom_distiller/content/browser/distiller_page_web_contents.cc')
-rw-r--r--components/dom_distiller/content/browser/distiller_page_web_contents.cc2
1 files changed, 1 insertions, 1 deletions
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 a1fc869..e458cf9 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;
}