Chromium Code Reviews| 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 |