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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollableArea.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/platform/scroll/ScrollableArea.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
index 441a97613cd24e864fa01af2b68a5e2896b7c834..904518d05a9d96d48d74d0557eeaca865f50ac1b 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
@@ -482,8 +482,8 @@ void ScrollableArea::layerForScrollingDidChange(CompositorAnimationTimeline* tim
bool ScrollableArea::scheduleAnimation()
{
- if (HostWindow* window = hostWindow()) {
- window->scheduleAnimation(widget());
+ if (HostWindow* window = getHostWindow()) {
+ window->scheduleAnimation(getWidget());
return true;
}
return false;
@@ -577,7 +577,7 @@ DoublePoint ScrollableArea::clampScrollPosition(const DoublePoint& scrollPositio
int ScrollableArea::lineStep(ScrollbarOrientation) const
{
- return pixelsPerLineStep(hostWindow());
+ return pixelsPerLineStep(getHostWindow());
}
int ScrollableArea::pageStep(ScrollbarOrientation orientation) const
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollableArea.h ('k') | third_party/WebKit/Source/platform/scroll/Scrollbar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698