| Index: Source/web/WebRemoteFrameImpl.cpp
|
| diff --git a/Source/web/WebRemoteFrameImpl.cpp b/Source/web/WebRemoteFrameImpl.cpp
|
| index 64e9f01cbc4fbdd38bcc1d0a2f92e4da2161ba8f..b8d53c8328172c5f4b9e7330bac87cb369af1030 100644
|
| --- a/Source/web/WebRemoteFrameImpl.cpp
|
| +++ b/Source/web/WebRemoteFrameImpl.cpp
|
| @@ -764,9 +764,13 @@ void WebRemoteFrameImpl::initializeFromFrame(WebLocalFrame* source) const
|
| {
|
| ASSERT(source);
|
| WebLocalFrameImpl* localFrameImpl = toWebLocalFrameImpl(source);
|
| +
|
| + // TODO(bokan): The scale_factor argument here used to be the now-removed
|
| + // FrameView::visibleContentScaleFactor but the callee uses this parameter
|
| + // to set the device scale factor. crbug.com/493262
|
| client()->initializeChildFrame(
|
| localFrameImpl->frame()->view()->frameRect(),
|
| - localFrameImpl->frame()->view()->visibleContentScaleFactor());
|
| + 1);
|
| }
|
|
|
| void WebRemoteFrameImpl::setReplicatedOrigin(const WebSecurityOrigin& origin) const
|
|
|