| Index: third_party/WebKit/Source/core/page/scrolling/RootScrollerUtil.h
|
| diff --git a/third_party/WebKit/Source/core/page/scrolling/RootScrollerUtil.h b/third_party/WebKit/Source/core/page/scrolling/RootScrollerUtil.h
|
| index dc3a24ffdce9907fb637dead2797eab32c0d9bf7..dc7668132716db8a1f76dea54f38d9269121e5a1 100644
|
| --- a/third_party/WebKit/Source/core/page/scrolling/RootScrollerUtil.h
|
| +++ b/third_party/WebKit/Source/core/page/scrolling/RootScrollerUtil.h
|
| @@ -8,11 +8,20 @@
|
| namespace blink {
|
|
|
| class Element;
|
| +class PaintLayer;
|
| class ScrollableArea;
|
|
|
| namespace RootScrollerUtil {
|
|
|
| -ScrollableArea* scrollableAreaFor(const Element&);
|
| +// Returns the ScrollableArea that's associated with the root scroller element.
|
| +// For the <html> element this will be the FrameView or root
|
| +// PaintLayerScrollableArea.
|
| +ScrollableArea* scrollableAreaForRootScroller(const Element&);
|
| +
|
| +// Returns the PaintLayer that'll be used as the root scrolling layer. For the
|
| +// <html> element, this returns the LayoutView's PaintLayer rather than
|
| +// <html>'s since scrolling is handled by LayoutView.
|
| +PaintLayer* paintLayerForRootScroller(const Element*);
|
|
|
| } // namespace RootScrollerUtil
|
|
|
|
|