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

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: tests2! Created 4 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/style/DataEquivalency.h
diff --git a/third_party/WebKit/Source/core/style/DataEquivalency.h b/third_party/WebKit/Source/core/style/DataEquivalency.h
index b9b49370ea5779eca964ddbc66171e8958b58cda..193c362f9c4506b8dbf94d4f2a3914ffec55ee74 100644
--- a/third_party/WebKit/Source/core/style/DataEquivalency.h
+++ b/third_party/WebKit/Source/core/style/DataEquivalency.h
@@ -49,6 +49,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)
Timothy Loh 2016/05/24 05:38:35 const T&?
+{
+ return a == b;
+}
} // namespace blink
#endif // DataEquivalency_h

Powered by Google App Engine
This is Rietveld 408576698