Index: third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp b/third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp |
index 8c69d8ac1dd953c955366abed055976f6dd6d4d2..678c0cb55f278a79ba11533281ef937bdb3edf6e 100644 |
--- a/third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp |
@@ -4,9 +4,11 @@ |
#include "core/css/CSSPropertyEquality.h" |
+#include "core/css/CSSValue.h" |
#include "core/style/ComputedStyle.h" |
#include "core/style/DataEquivalency.h" |
#include "core/style/ShadowList.h" |
+#include "wtf/text/AtomicString.h" |
Eric Willigers
2017/03/08 04:10:47
Declaring the class would be sufficient. frame/csp
alancutter (OOO until 2018)
2017/03/09 04:35:59
Removed.
|
// TODO(ikilpatrick): generate this file. |
@@ -375,4 +377,12 @@ bool CSSPropertyEquality::propertiesEqual(CSSPropertyID prop, |
} |
} |
+bool CSSPropertyEquality::registeredCustomPropertiesEqual( |
+ const AtomicString& propertyName, |
+ const ComputedStyle& a, |
+ const ComputedStyle& b) { |
+ return compareCSSValuePtr(a.getRegisteredVariable(propertyName), |
+ b.getRegisteredVariable(propertyName)); |
+} |
+ |
} // namespace blink |