Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Unified Diff: third_party/WebKit/Source/core/style/StyleScrollSnapData.cpp

Issue 2913403002: Move ScrollSnapPoints to its own file. (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleScrollSnapData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5acff715876dad3194e4ac3d05ec8902697ac2e3..b33d1b2ccc05b9e18d4159783c8a63ecc10aa993 100644
--- a/third_party/WebKit/Source/core/style/StyleScrollSnapData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleScrollSnapData.cpp
@@ -29,14 +29,6 @@
namespace blink {
-ScrollSnapPoints::ScrollSnapPoints()
- : repeat_offset(100, kPercent), has_repeat(false), uses_elements(false) {}
-
-bool operator==(const ScrollSnapPoints& a, const ScrollSnapPoints& b) {
- return a.repeat_offset == b.repeat_offset && a.has_repeat == b.has_repeat &&
- a.uses_elements == b.uses_elements;
-}
-
StyleScrollSnapData::StyleScrollSnapData()
: x_points_(ComputedStyle::InitialScrollSnapPointsX()),
y_points_(ComputedStyle::InitialScrollSnapPointsY()),
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleScrollSnapData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698