| Index: third_party/WebKit/Source/core/style/StyleBackgroundData.h
|
| diff --git a/third_party/WebKit/Source/core/style/StyleBackgroundData.h b/third_party/WebKit/Source/core/style/StyleBackgroundData.h
|
| index 640d0ea57bd5dd70cd64c98398185093de192e37..b5b39eada700b6b01fd2d701ccc694418c3440f5 100644
|
| --- a/third_party/WebKit/Source/core/style/StyleBackgroundData.h
|
| +++ b/third_party/WebKit/Source/core/style/StyleBackgroundData.h
|
| @@ -46,13 +46,21 @@ class CORE_EXPORT StyleBackgroundData
|
| return AdoptRef(new StyleBackgroundData(*this));
|
| }
|
|
|
| - bool operator==(const StyleBackgroundData&) const;
|
| - bool operator!=(const StyleBackgroundData& o) const { return !(*this == o); }
|
| + bool operator==(const StyleBackgroundData& other) const {
|
| + return background_ == other.background_ &&
|
| + background_color_ == other.background_color_;
|
| + }
|
| + bool operator!=(const StyleBackgroundData& other) const {
|
| + return !(*this == other);
|
| + }
|
|
|
| private:
|
| friend class ComputedStyle;
|
|
|
| - StyleBackgroundData();
|
| + StyleBackgroundData()
|
| + : background_(FillLayer(kBackgroundFillLayer, true)),
|
| + background_color_(Color::kTransparent) {}
|
| +
|
| StyleBackgroundData(const StyleBackgroundData&) = default;
|
|
|
| FillLayer background_;
|
|
|