Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / rendering / style / BorderData.h
index bf96bcf..4df4644 100644 (file)
@@ -94,6 +94,19 @@ public:
                && m_topLeft == o.m_topLeft && m_topRight == o.m_topRight && m_bottomLeft == o.m_bottomLeft && m_bottomRight == o.m_bottomRight;
     }
 
+    bool visuallyEqual(const BorderData& o) const
+    {
+        return m_left.visuallyEqual(o.m_left)
+            && m_right.visuallyEqual(o.m_right)
+            && m_top.visuallyEqual(o.m_top)
+            && m_bottom.visuallyEqual(o.m_bottom)
+            && m_image == o.m_image
+            && m_topLeft == o.m_topLeft
+            && m_topRight == o.m_topRight
+            && m_bottomLeft == o.m_bottomLeft
+            && m_bottomRight == o.m_bottomRight;
+    }
+
     bool operator!=(const BorderData& o) const
     {
         return !(*this == o);