| Index: Source/web/WebRemoteFrameImpl.cpp
|
| diff --git a/Source/web/WebRemoteFrameImpl.cpp b/Source/web/WebRemoteFrameImpl.cpp
|
| index cbd5e8d753335880654eb8c814187f019d9cb746..c9f39fc79aac8de4a33a3323c6ce95f90ef82d17 100644
|
| --- a/Source/web/WebRemoteFrameImpl.cpp
|
| +++ b/Source/web/WebRemoteFrameImpl.cpp
|
| @@ -755,12 +755,9 @@ 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(),
|
| - 1);
|
| + localFrameImpl->frame()->page()->deviceScaleFactor());
|
| }
|
|
|
| void WebRemoteFrameImpl::setReplicatedOrigin(const WebSecurityOrigin& origin) const
|
|
|