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

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: revert forAllFrameViews change in FrameView.cpp. I don't know what I was thinking. 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 5be23848a84ee82cc95f2fc34b1b070c008738c0..d364a8b42c47782781df9c750d01ceee3a5d982d 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
- // 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;
« no previous file with comments | « third_party/WebKit/Source/core/paint/ObjectPaintProperties.h ('k') | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698