| Index: third_party/WebKit/Source/core/style/StyleScrollSnapData.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/StyleScrollSnapData.cpp b/third_party/WebKit/Source/core/style/StyleScrollSnapData.cpp
|
| index b33d1b2ccc05b9e18d4159783c8a63ecc10aa993..29be342b632ecf3ef69e9fd01eec126f7136a332 100644
|
| --- a/third_party/WebKit/Source/core/style/StyleScrollSnapData.cpp
|
| +++ b/third_party/WebKit/Source/core/style/StyleScrollSnapData.cpp
|
| @@ -33,17 +33,30 @@ StyleScrollSnapData::StyleScrollSnapData()
|
| : x_points_(ComputedStyle::InitialScrollSnapPointsX()),
|
| y_points_(ComputedStyle::InitialScrollSnapPointsY()),
|
| destination_(ComputedStyle::InitialScrollSnapDestination()),
|
| - coordinates_(ComputedStyle::InitialScrollSnapCoordinate()) {}
|
| + coordinates_(ComputedStyle::InitialScrollSnapCoordinate()),
|
| + type_(ComputedStyle::InitialScrollSnapType()),
|
| + align_(ComputedStyle::InitialScrollSnapAlign()),
|
| + padding_(),
|
| + margin_(),
|
| + stop_(ComputedStyle::InitialScrollSnapStop()) {}
|
|
|
| StyleScrollSnapData::StyleScrollSnapData(const StyleScrollSnapData& other)
|
| : x_points_(other.x_points_),
|
| y_points_(other.y_points_),
|
| destination_(other.destination_),
|
| - coordinates_(other.coordinates_) {}
|
| + coordinates_(other.coordinates_),
|
| + type_(other.type_),
|
| + align_(other.align_),
|
| + padding_(other.padding_),
|
| + margin_(other.margin_),
|
| + stop_(other.stop_) {}
|
|
|
| bool operator==(const StyleScrollSnapData& a, const StyleScrollSnapData& b) {
|
| return a.x_points_ == b.x_points_ && a.y_points_ == b.y_points_ &&
|
| - a.destination_ == b.destination_ && a.coordinates_ == b.coordinates_;
|
| + a.destination_ == b.destination_ && a.coordinates_ == b.coordinates_ &&
|
| + a.type_ == b.type_ && a.align_ == b.align_ &&
|
| + a.padding_ == b.padding_ && a.margin_ == b.margin_ &&
|
| + a.stop_ == b.stop_;
|
| }
|
|
|
| } // namespace blink
|
|
|