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

Unified Diff: Source/core/rendering/compositing/RenderLayerCompositor.h

Issue 143283011: Make squashing work with subpixel layout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add ASSERT Created 6 years, 9 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: Source/core/rendering/compositing/RenderLayerCompositor.h
diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.h b/Source/core/rendering/compositing/RenderLayerCompositor.h
index 00cfd63742939aa73617181c57be9840e8aa9e48..e04c4b203d1649036d1a94ca17b62759b5c23443 100644
--- a/Source/core/rendering/compositing/RenderLayerCompositor.h
+++ b/Source/core/rendering/compositing/RenderLayerCompositor.h
@@ -217,7 +217,7 @@ private:
, nextSquashedLayerIndex(0)
, clippingAncestorForMostRecentMapping(0) { }
- void updateSquashingStateForNewMapping(CompositedLayerMappingPtr, bool hasNewCompositedLayerMapping, IntPoint newOffsetFromAbsoluteForSquashingCLM, RenderLayer* clippingAncestorForMostRecentMapping);
+ void updateSquashingStateForNewMapping(CompositedLayerMappingPtr, bool hasNewCompositedLayerMapping, LayoutPoint newOffsetFromAbsoluteForSquashingCLM, RenderLayer* clippingAncestorForMostRecentMapping);
// The most recent composited backing that the layer should squash onto if needed.
CompositedLayerMappingPtr mostRecentMapping;
@@ -225,7 +225,7 @@ private:
// Absolute coordinates of the compositedLayerMapping's owning layer. This is used for computing the correct
// positions of renderlayers when they paint into the squashing layer.
- IntPoint offsetFromAbsoluteForSquashingCLM;
+ LayoutPoint offsetFromAbsoluteForSquashingCLM;
// Counter that tracks what index the next RenderLayer would be if it gets squashed to the current squashing layer.
size_t nextSquashedLayerIndex;

Powered by Google App Engine
This is Rietveld 408576698