| Index: third_party/WebKit/public/platform/WebLayer.h
|
| diff --git a/third_party/WebKit/public/platform/WebLayer.h b/third_party/WebKit/public/platform/WebLayer.h
|
| index 023ba97970c5f7120d74a400808c284429115ebd..1542ca15fc21f75bf0b7b4c5bcb3b5c73bfca192 100644
|
| --- a/third_party/WebKit/public/platform/WebLayer.h
|
| +++ b/third_party/WebKit/public/platform/WebLayer.h
|
| @@ -155,18 +155,6 @@ public:
|
| // Scrolling
|
| virtual void setScrollPositionDouble(WebDoublePoint) = 0;
|
| virtual WebDoublePoint scrollPositionDouble() const = 0;
|
| - // Blink tells cc the scroll offset through setScrollPositionDouble() using
|
| - // floating precision but it currently can only position cc layers at integer
|
| - // boundary. So Blink needs to also call setScrollCompensationAdjustment()
|
| - // to tell cc what's the part of the scroll offset that Blink doesn't handle
|
| - // but cc needs to take into consideration, e.g. compensating
|
| - // for fixed-position layer that's positioned in Blink using only integer scroll
|
| - // offset.
|
| - // We make this call explicit, instead of letting cc to infer the fractional part
|
| - // from the scroll offset, to be clear that this is Blink's limitation. Once
|
| - // Blink can fully handle fractional scroll offset, it can stop calling
|
| - // this function and cc side would just work.
|
| - virtual void setScrollCompensationAdjustment(WebDoublePoint) = 0;
|
|
|
| // To set a WebLayer as scrollable we must specify the corresponding clip layer.
|
| virtual void setScrollClipLayer(WebLayer*) = 0;
|
|
|