| Index: third_party/WebKit/Source/core/paint/PaintLayer.h
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| index 7cab7a2fd1bbb3bcda8c4131cd0dfdde87f8edae..ff21d59d8f86a31ecede687a6f902c688ae4be5e 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| @@ -427,6 +427,12 @@ public:
|
| CompositedLayerMapping* compositedLayerMapping() const;
|
| GraphicsLayer* graphicsLayerBacking() const;
|
| GraphicsLayer* graphicsLayerBackingForScrolling() const;
|
| + // Returns true for layers with scrollable overflow which have a background
|
| + // that can be painted into the composited scrolling contents layer (i.e.
|
| + // the background can scroll with the content). When the background is also
|
| + // opaque this allows us to composite the scroller even on low DPI as we can
|
| + // draw with subpixel anti-aliasing.
|
| + bool shouldPaintBackgroundOntoScrollingContentsLayer() const;
|
| // NOTE: If you are using hasCompositedLayerMapping to determine the state of compositing for this layer,
|
| // (and not just to do bookkeeping related to the mapping like, say, allocating or deallocating a mapping),
|
| // then you may have incorrect logic. Use compositingState() instead.
|
|
|