Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h

Issue 2259493004: Fix Compositing of Opaque Scrolling Layers and Add Tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add opacity check Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
index bd7baaed155b2d2f464dc65f7a080baf4aa48cbb..8d03079a6f89d678839186c6092ab1eb46d21dc0 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
@@ -217,13 +217,6 @@ public:
void adjustForCompositedScrolling(const GraphicsLayer*, IntSize& offset) 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;
-
private:
IntRect recomputeInterestRect(const GraphicsLayer*) const;
static bool interestRectChangedEnoughToRepaint(const IntRect& previousInterestRect, const IntRect& newInterestRect, const IntSize& layerSize);

Powered by Google App Engine
This is Rietveld 408576698