| Index: content/browser/frame_host/interstitial_page_impl.cc
|
| diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc
|
| index be086821af5c7ae3667842b51eac40f17276adcb..bab54034b9ea5d822f28dc29159af8bf021a8176 100644
|
| --- a/content/browser/frame_host/interstitial_page_impl.cc
|
| +++ b/content/browser/frame_host/interstitial_page_impl.cc
|
| @@ -943,4 +943,20 @@ TextInputManager* InterstitialPageImpl::GetTextInputManager() {
|
| ->GetTextInputManager();
|
| }
|
|
|
| +void InterstitialPageImpl::GetScreenInfo(blink::WebScreenInfo* screen_info) {
|
| + WebContentsImpl* web_contents_impl =
|
| + static_cast<WebContentsImpl*>(web_contents_);
|
| + DCHECK(web_contents_impl);
|
| +
|
| + web_contents_impl->GetView()->GetScreenInfo(screen_info);
|
| +}
|
| +
|
| +void InterstitialPageImpl::UpdateDeviceScaleFactor(double device_scale_factor) {
|
| + WebContentsImpl* web_contents_impl =
|
| + static_cast<WebContentsImpl*>(web_contents_);
|
| + DCHECK(web_contents_impl);
|
| +
|
| + web_contents_impl->UpdateDeviceScaleFactor(device_scale_factor);
|
| +}
|
| +
|
| } // namespace content
|
|
|