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

Unified Diff: Source/web/WebRemoteFrameImpl.cpp

Issue 1330113002: Rename WebSourceBuffer::abort into WebSourceBuffer::resetParserState (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « Source/modules/mediasource/SourceBuffer.cpp ('k') | public/platform/WebSourceBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/modules/mediasource/SourceBuffer.cpp ('k') | public/platform/WebSourceBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698