| Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| index e0a937b1a8a79675d239d6cba979d9b102231b60..8481abe7d32b5698d1e82738094ec3a2993e13da 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| @@ -475,8 +475,7 @@ bool ComputedStyle::NonInheritedEqual(const ComputedStyle& other) const {
|
|
|
| bool ComputedStyle::InheritedDataShared(const ComputedStyle& other) const {
|
| // This is a fast check that only looks if the data structures are shared.
|
| - // TODO(sashab): Should ComputedStyleBase have an inheritedDataShared method?
|
| - return ComputedStyleBase::InheritedEqual(other) &&
|
| + return ComputedStyleBase::InheritedDataShared(other) &&
|
| inherited_data_.Get() == other.inherited_data_.Get() &&
|
| svg_style_.Get() == other.svg_style_.Get() &&
|
| rare_inherited_data_.Get() == other.rare_inherited_data_.Get();
|
|
|