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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.h

Issue 1407543003: Preliminary paint property walk implementation for SPv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/paint/PaintLayer.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
index 7e9ca9b346f6b0acdbd451ab383a8bb3e08d94b2..4ffb8c676c3a9309c638476cdef6a3fa5701be1e 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -66,7 +66,6 @@ class FilterOperations;
class HitTestRequest;
class HitTestResult;
class HitTestingTransformState;
-class ObjectPaintProperties;
class PaintLayerCompositor;
class CompositedLayerMapping;
class ComputedStyle;
@@ -606,12 +605,6 @@ public:
// For subsequence display items.
DisplayItemClient displayItemClient() const { return toDisplayItemClient(this); }
- // Paint properties encode the hierarchical transform, clip, scroll, and
pdr. 2015/10/14 17:52:06 Per the discussion above, I think we should keep t
- // effect information used for painting. Properties should only be changed
- // during UpdatePaintProperties, and should only be used during Paint.
- ObjectPaintProperties& mutablePaintProperties();
- const ObjectPaintProperties* paintProperties() const;
-
private:
// Bounding box in the coordinates of this layer.
LayoutRect logicalBoundingBox() const;
@@ -796,11 +789,6 @@ private:
OwnPtr<PaintLayerStackingNode> m_stackingNode;
OwnPtr<PaintLayerReflectionInfo> m_reflectionInfo;
- // Lazily-allocated paint properties for m_layoutObject, stored here to
- // reduce memory usage as PaintLayers are created for all paint property
- // layout objects.
- OwnPtr<ObjectPaintProperties> m_paintProperties;
-
LayoutSize m_subpixelAccumulation; // The accumulated subpixel offset of a composited layer's composited bounds compared to absolute coordinates.
IntSize m_previousScrollOffsetAccumulationForPainting;

Powered by Google App Engine
This is Rietveld 408576698