| 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 6a6f1e2eabc3cdfe92fe78ec554645933f14b608..955a8ccea9cbc734c398302d83ed9f005123fbc9 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
|
| @@ -74,6 +74,12 @@ class PropertyTreeState {
|
| RefPtr<const EffectPaintPropertyNode> m_effect;
|
| RefPtr<const ScrollPaintPropertyNode> m_scroll;
|
| };
|
| +
|
| +inline bool operator==(const PropertyTreeState& a, const PropertyTreeState& b) {
|
| + return a.transform() == b.transform() && a.clip() == b.clip() &&
|
| + a.effect() == b.effect() && a.scroll() == b.scroll();
|
| +}
|
| +
|
| } // namespace blink
|
|
|
| #endif // PropertyTreeState_h
|
|
|