Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.cpp

Issue 2850173003: Move LengthSizes border-*-radius out of BorderData (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 e8af5243d7eb00bbb6cdc56dbf5ff7536733344d..0f4fad85a8fd80b95b2d7d92cc51e1a04197fa90 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
@@ -339,7 +339,7 @@ void LayoutBox::StyleDidChange(StyleDifference diff,
// overflowClipRect(), and border radii, so we update properties on
// border size or radii change.
if (!old_style->Border().SizeEquals(new_style.Border()) ||
- !old_style->Border().RadiiEqual(new_style.Border()))
+ !old_style->RadiiEqual(new_style))
SetNeedsPaintPropertyUpdate();
}
}

Powered by Google App Engine
This is Rietveld 408576698