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

Unified Diff: third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h

Issue 1738243002: Removed main-thread one dimensional scrolling paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@removeStepFromUserScroll
Patch Set: Rebase Created 4 years, 10 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
Index: third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h b/third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h
index 0acd83a2cbd9c5547335cb887c08a70ae60b6e53..69827e991859b57c300d537ed5a60a3f8ed26335 100644
--- a/third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h
+++ b/third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h
@@ -33,9 +33,9 @@ public:
return LayoutBoxItem(toBox()->enclosingBox());
}
- ScrollResultOneDimensional scroll(ScrollDirectionPhysical direction, ScrollGranularity granularity, float delta = 1)
+ ScrollResult scroll(ScrollGranularity granularity, const FloatSize& delta)
{
- return toBox()->scroll(direction, granularity, delta);
+ return toBox()->scroll(granularity, delta);
}
private:

Powered by Google App Engine
This is Rietveld 408576698