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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutListBox.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/core/layout/LayoutListBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutListBox.cpp b/third_party/WebKit/Source/core/layout/LayoutListBox.cpp
index 13548dbbca62a7a61840c24f7da4b12ba5918e8b..51f9e719669057f2a8c3b4b2c4f0a20efb0c1434 100644
--- a/third_party/WebKit/Source/core/layout/LayoutListBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutListBox.cpp
@@ -96,7 +96,7 @@ unsigned LayoutListBox::size() const
LayoutUnit LayoutListBox::defaultItemHeight() const
{
- return LayoutUnit(style()->fontMetrics().height() + defaultPaddingBottom);
+ return LayoutUnit(style()->getFontMetrics().height() + defaultPaddingBottom);
}
LayoutUnit LayoutListBox::itemHeight() const
@@ -147,8 +147,8 @@ void LayoutListBox::scrollToRect(const LayoutRect& rect)
{
if (hasOverflowClip()) {
ASSERT(layer());
- ASSERT(layer()->scrollableArea());
- layer()->scrollableArea()->scrollIntoView(rect, ScrollAlignment::alignToEdgeIfNeeded, ScrollAlignment::alignToEdgeIfNeeded);
+ ASSERT(layer()->getScrollableArea());
+ layer()->getScrollableArea()->scrollIntoView(rect, ScrollAlignment::alignToEdgeIfNeeded, ScrollAlignment::alignToEdgeIfNeeded);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutInline.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutListMarker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698