Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
index 0635acd1920d9dcd36fdcd8352606b7c30af75e7..fe5bff31cd69b7fd7556f403a28719326a685f88 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
@@ -232,7 +232,7 @@ void PaintLayerCompositor::updateIfNeededRecursive()
DocumentAnimations::updateCompositorAnimations(m_layoutView.document());
- m_layoutView.frameView()->scrollableArea()->updateCompositorScrollAnimations();
+ m_layoutView.frameView()->getScrollableArea()->updateCompositorScrollAnimations();
if (const FrameView::ScrollableAreaSet* animatingScrollableAreas = m_layoutView.frameView()->animatingScrollableAreas()) {
for (ScrollableArea* scrollableArea : *animatingScrollableAreas)
scrollableArea->updateCompositorScrollAnimations();
@@ -623,7 +623,7 @@ void PaintLayerCompositor::rootFixedBackgroundsChanged()
bool PaintLayerCompositor::scrollingLayerDidChange(PaintLayer* layer)
{
if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator())
- return scrollingCoordinator->scrollableAreaScrollLayerDidChange(layer->scrollableArea());
+ return scrollingCoordinator->scrollableAreaScrollLayerDidChange(layer->getScrollableArea());
return false;
}
@@ -707,7 +707,7 @@ GraphicsLayer* PaintLayerCompositor::frameScrollLayer() const
GraphicsLayer* PaintLayerCompositor::scrollLayer() const
{
- if (ScrollableArea* scrollableArea = m_layoutView.frameView()->scrollableArea())
+ if (ScrollableArea* scrollableArea = m_layoutView.frameView()->getScrollableArea())
return scrollableArea->layerForScrolling();
return nullptr;
}

Powered by Google App Engine