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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.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/platform/graphics/paint/TransformPaintPropertyNode.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h b/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h
index e656dc8bf1180f32a0d8724275b4823ac6341e67..954d572f0fe1e03c15f9968537040c121abf1dc0 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h
@@ -21,7 +21,7 @@ namespace blink {
// for the root.
class PLATFORM_EXPORT TransformPaintPropertyNode : public RefCounted<TransformPaintPropertyNode> {
public:
- TransformPaintPropertyNode(const TransformationMatrix& matrix, const FloatPoint3D& origin, PassRefPtr<TransformPaintPropertyNode> parent = nullptr)
+ TransformPaintPropertyNode(const TransformationMatrix& matrix, const FloatPoint3D& origin, TransformPaintPropertyNode* parent = nullptr)
jbroman 2015/10/14 15:11:59 Why this change? PassRefPtr<T> is implicitly const
trchen 2015/10/14 22:51:13 You're right. I don't know what I was thinking. Re
: m_matrix(matrix), m_origin(origin), m_parent(parent) { }
const TransformationMatrix& matrix() const { return m_matrix; }

Powered by Google App Engine
This is Rietveld 408576698