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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h

Issue 1651703002: More explicit LayoutUnit conversions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@evenMoarConstructors
Patch Set: Traits vs Properties vs Pandas Created 4 years, 11 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/paint/PaintLayerScrollableArea.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
index 055db431e7072b0ed471864d220e1e409a4d8a08..1e654c9ec607ae38552c0616d3efeab77f716d75 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
@@ -351,8 +351,8 @@ private:
void setScrollOffset(const IntPoint&, ScrollType) override;
void setScrollOffset(const DoublePoint&, ScrollType) override;
- LayoutUnit verticalScrollbarStart(int minX, int maxX) const;
- LayoutUnit horizontalScrollbarStart(int minX) const;
+ int verticalScrollbarStart(int minX, int maxX) const;
+ int horizontalScrollbarStart(int minX) const;
IntSize scrollbarOffset(const Scrollbar&) const;
void setHasHorizontalScrollbar(bool hasScrollbar);

Powered by Google App Engine
This is Rietveld 408576698