Chromium Code Reviews| Index: third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
| diff --git a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
| index ef3f0a4b586608d6abee8bbd9b4299e79f7e463c..36558958a4814afd1b53db0c924723ad2c0b920c 100644 |
| --- a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
| +++ b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
| @@ -432,8 +432,7 @@ WebRemoteFrameImpl* WebRemoteFrameImpl::fromFrame(RemoteFrame& frame) |
| void WebRemoteFrameImpl::initializeFromFrame(WebLocalFrame* source) const |
|
dcheng
2016/08/17 17:11:31
Do we still need to pass |source| here if it's unu
|
| { |
| DCHECK(source); |
| - WebLocalFrameImpl* localFrameImpl = toWebLocalFrameImpl(source); |
| - client()->initializeChildFrame(localFrameImpl->frame()->page()->deviceScaleFactor()); |
| + client()->initializeChildFrame(); |
| } |
| void WebRemoteFrameImpl::setReplicatedOrigin(const WebSecurityOrigin& origin) const |