| Index: Source/core/rendering/style/ShapeValue.h
|
| diff --git a/Source/core/rendering/style/ShapeValue.h b/Source/core/rendering/style/ShapeValue.h
|
| index 34de7741b1ad740be0f7041ed8ee4530b555c26b..5d846b6cc3d211b2156b5eade47404bc779f24e6 100644
|
| --- a/Source/core/rendering/style/ShapeValue.h
|
| +++ b/Source/core/rendering/style/ShapeValue.h
|
| @@ -32,6 +32,7 @@
|
|
|
| #include "core/fetch/ImageResource.h"
|
| #include "core/rendering/style/BasicShapes.h"
|
| +#include "core/rendering/style/DataEquivalency.h"
|
| #include "core/rendering/style/RenderStyleConstants.h"
|
| #include "core/rendering/style/StyleImage.h"
|
| #include "wtf/PassRefPtr.h"
|
| @@ -122,11 +123,11 @@ inline bool ShapeValue::operator==(const ShapeValue& other) const
|
|
|
| switch (type()) {
|
| case Shape:
|
| - return shape() == other.shape() && cssBox() == other.cssBox();
|
| + return dataEquivalent(shape(), other.shape()) && cssBox() == other.cssBox();
|
| case Box:
|
| return cssBox() == other.cssBox();
|
| case Image:
|
| - return image() == other.image();
|
| + return dataEquivalent(image(), other.image());
|
| }
|
|
|
| ASSERT_NOT_REACHED();
|
|
|