Remove WebLayer::maxScrollPosition().

This code is only used in a test, and cc-side support is going away, so
remove it in Blink.

Review URL: https://codereview.chromium.org/215033003

git-svn-id: svn://svn.chromium.org/blink/trunk@170480 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent d7f8ad86
......@@ -460,7 +460,6 @@ TEST_F(ScrollingCoordinatorChromiumTest, rtlIframe)
int expectedScrollPosition = 958 + (innerFrameView->verticalScrollbar()->isOverlayScrollbar() ? 0 : 15);
ASSERT_EQ(expectedScrollPosition, webScrollLayer->scrollPosition().x);
ASSERT_EQ(expectedScrollPosition, webScrollLayer->maxScrollPosition().width);
}
TEST_F(ScrollingCoordinatorChromiumTest, setupScrollbarLayerShouldNotCrash)
......
......@@ -173,8 +173,6 @@ public:
virtual void setScrollPosition(WebPoint) = 0;
virtual WebPoint scrollPosition() const = 0;
virtual WebSize maxScrollPosition() const = 0;
// To set a WebLayer as scrollable we must specify the corresponding clip layer.
virtual void setScrollClipLayer(WebLayer*) = 0;
virtual bool scrollable() const = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment