| 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..198f55edeb2b2b80f3e91854a93304ed443bc2dd 100644
|
| --- a/third_party/WebKit/Source/core/style/DataEquivalency.h
|
| +++ b/third_party/WebKit/Source/core/style/DataEquivalency.h
|
| @@ -16,12 +16,17 @@ template <typename T>
|
| class Member;
|
|
|
| template <typename T>
|
| +bool DataEquivalent(const T& a, const T& b) {
|
| + return a == b;
|
| +}
|
| +
|
| +template <typename T>
|
| bool DataEquivalent(const T* a, const T* b) {
|
| if (a == b)
|
| return true;
|
| if (!a || !b)
|
| return false;
|
| - return *a == *b;
|
| + return DataEquivalent(*a, *b);
|
| }
|
|
|
| template <typename T>
|
|
|