Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / rendering / style / ShapeValue.h
index 34de774..5d846b6 100644 (file)
@@ -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();