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

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

Issue 2172503002: Fix subpixel accumulation for composited content layers Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add test expectation Created 4 years, 5 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 93154db8fa0c64b6e60702df94630dde442daa80..cea3e5f1b4e376e716575cc9247a93171721ad92 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
@@ -304,7 +304,6 @@ private:
Color layoutObjectBackgroundColor() const;
void updateBackgroundColor();
void updateContentsRect();
- void updateContentsOffsetInCompositingLayer(const IntPoint& snappedOffsetFromCompositedAncestor, const IntPoint& graphicsLayerParentLocation);
void updateAfterPartResize();
void updateCompositingReasons();
@@ -442,14 +441,10 @@ private:
LayoutRect m_compositedBounds;
- LayoutSize m_contentOffsetInCompositingLayer;
-
// We keep track of the scrolling contents offset, so that when it changes we can notify the ScrollingCoordinator, which
// passes on main-thread scrolling updates to the compositor.
DoubleSize m_scrollingContentsOffset;
- unsigned m_contentOffsetInCompositingLayerDirty : 1;
-
unsigned m_pendingUpdateScope : 2;
unsigned m_isMainFrameLayoutViewLayer : 1;

Powered by Google App Engine
This is Rietveld 408576698