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

Unified Diff: Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp

Issue 1162623007: Removed redundant rect methods on FrameView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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/core/layout/LayoutView.cpp ('k') | Source/core/paint/BoxPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
diff --git a/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp b/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
index 9efd46d5e3b72090c2cb8767efc905fe9117bb0c..ee92f0cab901c066965a2548ae6fe005c79852c2 100644
--- a/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
+++ b/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
@@ -535,8 +535,8 @@ void DeprecatedPaintLayerCompositor::frameViewDidChangeSize()
{
if (m_containerLayer) {
FrameView* frameView = m_layoutView.frameView();
- m_containerLayer->setSize(frameView->unscaledVisibleContentSize());
- m_overflowControlsHostLayer->setSize(frameView->unscaledVisibleContentSize(IncludeScrollbars));
+ m_containerLayer->setSize(frameView->visibleContentSize());
+ m_overflowControlsHostLayer->setSize(frameView->visibleContentSize(IncludeScrollbars));
frameViewDidScroll();
updateOverflowControlsLayers();
@@ -762,8 +762,8 @@ void DeprecatedPaintLayerCompositor::updateRootLayerPosition()
}
if (m_containerLayer) {
FrameView* frameView = m_layoutView.frameView();
- m_containerLayer->setSize(frameView->unscaledVisibleContentSize());
- m_overflowControlsHostLayer->setSize(frameView->unscaledVisibleContentSize(IncludeScrollbars));
+ m_containerLayer->setSize(frameView->visibleContentSize());
+ m_overflowControlsHostLayer->setSize(frameView->visibleContentSize(IncludeScrollbars));
}
}
« no previous file with comments | « Source/core/layout/LayoutView.cpp ('k') | Source/core/paint/BoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698