Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
index dbf533cd0cb10eed0c1323ae9409b1a2c23b8edd..76de0966b1db2f518a408d7002cdb319225572b1 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -338,7 +338,7 @@ void LayoutBox::StyleDidChange(StyleDifference diff, |
// The overflow clip paint property depends on border sizes through |
// overflowClipRect(), and border radii, so we update properties on |
// border size or radii change. |
- if (!old_style->Border().SizeEquals(new_style.Border()) || |
+ if (!old_style->BorderSizeEquals(new_style) || |
!old_style->RadiiEqual(new_style)) |
SetNeedsPaintPropertyUpdate(); |
} |