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 c707e4bd3c261885e1f3b5d6e8a87e736dc32a50..20efb2a60f4ec63f0fdfce67b6691bcbcc791437 100644 |
--- a/third_party/WebKit/Source/core/style/DataEquivalency.h |
+++ b/third_party/WebKit/Source/core/style/DataEquivalency.h |
@@ -44,6 +44,11 @@ bool dataEquivalent(const OwnPtr<T>& a, const OwnPtr<T>& b) |
return dataEquivalent(a.get(), b.get()); |
} |
+template <typename T> |
+bool dataEquivalent(const T a, const T b) |
+{ |
+ return a == b; |
+} |
} // namespace blink |
#endif // DataEquivalency_h |