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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h

Issue 2751433002: [SPv2] Flatten property trees in PaintRecordBuilder into a single display list. (Closed)
Patch Set: none Created 3 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: third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h b/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
index 4bc47b12d3e873d48b453d12c87ddb4e2b4e6a3a..4ee2b60335abcd8e5081ee95a2bdf8d9c6488bb6 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
@@ -29,6 +29,8 @@ class PLATFORM_EXPORT PropertyTreeState {
DCHECK(!m_effect || !m_effect->hasOneRef());
}
+ PropertyTreeState(const PropertyTreeState& other) = default;
pdr. 2017/03/28 21:01:30 I haven't seen this before but just read about it
chrishtr 2017/03/28 21:43:23 Removed, not needed in this version of the CL.
+
bool hasDirectCompositingReasons() const;
const TransformPaintPropertyNode* transform() const {
@@ -55,6 +57,8 @@ class PLATFORM_EXPORT PropertyTreeState {
m_effect = std::move(node);
}
+ static const PropertyTreeState& root();
+
// Returns the compositor element id, if any, for this property state. If
// neither the effect nor transform nodes have a compositor element id then a
// default instance is returned.

Powered by Google App Engine
This is Rietveld 408576698