Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Unified Diff: third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp

Issue 2248823003: Use the correct scale factor when rendering RemoteFrames with UseZoomForDSF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use enclosing rect Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698