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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.cpp

Issue 2880573002: Store border-*-style on SurroundData in ComputedStyle (Closed)
Patch Set: Store border-*-style on SurroundData Created 3 years, 7 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/style/ComputedStyle.cpp
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
index a61fd4e8806f6980b837efafa4fa7b32717b5fea..6fb94659cc5afa7cc640b70bb4b584461c121da9 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -870,10 +870,8 @@ bool ComputedStyle::DiffNeedsPaintInvalidationObject(
const ComputedStyle& other) const {
if (Visibility() != other.Visibility() ||
PrintColorAdjust() != other.PrintColorAdjust() ||
- InsideLink() != other.InsideLink() ||
- !Border().VisuallyEqual(other.Border()) || !RadiiEqual(other) ||
- !BorderColorVisuallyEquals(other) || !BorderSizeEquals(other) ||
- *background_data_ != *other.background_data_)
+ InsideLink() != other.InsideLink() || !BorderVisuallyEqual(other) ||
+ !RadiiEqual(other) || *background_data_ != *other.background_data_)
return true;
if (rare_inherited_data_.Get() != other.rare_inherited_data_.Get()) {

Powered by Google App Engine
This is Rietveld 408576698