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

Unified Diff: third_party/WebKit/Source/core/style/DataEquivalency.h

Issue 1910263003: Generate CSSPropertyEquality instead of using hand-updated file. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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/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

Powered by Google App Engine
This is Rietveld 408576698