Index: third_party/WebKit/Source/core/style/DataEquivalency.h |
diff --git a/third_party/WebKit/Source/core/style/DataEquivalency.h b/third_party/WebKit/Source/core/style/DataEquivalency.h |
index 495119165744fd712a2a83ba9b1d11d212dca501..2308e3c0101d2d03ee13cb55b373deb19d4000a9 100644 |
--- a/third_party/WebKit/Source/core/style/DataEquivalency.h |
+++ b/third_party/WebKit/Source/core/style/DataEquivalency.h |
@@ -14,6 +14,10 @@ template <typename T> |
class Persistent; |
template <typename T> |
class Member; |
+template <typename T> |
+class DataRef; |
+template <typename T> |
+class DataPersistent; |
template <typename T> |
bool DataEquivalent(const T* a, const T* b) { |
@@ -44,6 +48,18 @@ bool DataEquivalent(const std::unique_ptr<T>& a, const std::unique_ptr<T>& b) { |
return DataEquivalent(a.get(), b.get()); |
} |
+// TODO(shend): Remove this once all subgroups of StyleRareNonInheritedData are |
+// generated |
+template <typename T> |
+bool DataEquivalent(const DataRef<T>& a, const DataRef<T>& b) { |
+ return DataEquivalent(a.Get(), b.Get()); |
+} |
+ |
+template <typename T> |
+bool DataEquivalent(const DataPersistent<T>& a, const DataPersistent<T>& b) { |
+ return DataEquivalent(a.Get(), b.Get()); |
+} |
+ |
} // namespace blink |
#endif // DataEquivalency_h |