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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp

Issue 2891003002: Store border-image-* on SurroundData in ComputedStyle (Closed)
Patch Set: Store border-image-* on SurroundData in ComputedStyle 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/css/resolver/StyleResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
index 05276e45463d8e81527107528eae1366f5d6b818..509ffec7c9efdb97314d05fec8a8dfb8565b54a2 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
@@ -1957,7 +1957,7 @@ bool StyleResolver::HasAuthorBackground(const StyleResolverState& state) {
bool StyleResolver::HasAuthorBorder(const StyleResolverState& state) {
const CachedUAStyle* cached_ua_style = state.GetCachedUAStyle();
return cached_ua_style &&
- (cached_ua_style->border != state.Style()->Border() ||
+ (cached_ua_style->border_image != state.Style()->BorderImage() ||
!cached_ua_style->BorderColorEquals(*state.Style()) ||
!cached_ua_style->BorderWidthEquals(*state.Style()) ||
!cached_ua_style->BorderRadiiEquals(*state.Style()) ||

Powered by Google App Engine
This is Rietveld 408576698