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); |
} |
} |