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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.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. 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/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 99081bb388551d3adc08974e9f66e3ec94bb0087..6e4f66214a0ab35397835f667f938b626b76f329 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -964,8 +964,8 @@ bool WebViewImpl::startPageScaleAnimation(const IntPoint& targetPosition, bool u
setPageScaleFactor(newScale);
FrameView* view = mainFrameImpl()->frameView();
- if (view && view->scrollableArea())
- view->scrollableArea()->setScrollPosition(DoublePoint(clampedPoint.x, clampedPoint.y), ProgrammaticScroll);
+ if (view && view->getScrollableArea())
+ view->getScrollableArea()->setScrollPosition(DoublePoint(clampedPoint.x, clampedPoint.y), ProgrammaticScroll);
return false;
}
@@ -4553,7 +4553,7 @@ void WebViewImpl::attachPaintArtifactCompositor()
// TODO(jbroman): This should probably have hookups for overlays, visual
// viewport, etc.
- WebLayer* rootLayer = m_paintArtifactCompositor.webLayer();
+ WebLayer* rootLayer = m_paintArtifactCompositor.getWebLayer();
ASSERT(rootLayer);
m_layerTreeView->setRootLayer(*rootLayer);
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | third_party/WebKit/Source/web/WebViewImplPaintArtifactCompositorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698