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

Unified Diff: Source/core/platform/ScrollableArea.cpp

Issue 23480037: Fix RTL scroll bars being misrendered on Android. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: isLeftSideVerticalScrollbar Created 7 years, 3 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: Source/core/platform/ScrollableArea.cpp
diff --git a/Source/core/platform/ScrollableArea.cpp b/Source/core/platform/ScrollableArea.cpp
index ff56d746baf3c77a2c8da608c8712c5bb38564c9..8bb6bed3891e6d812b19500b789fe85da2a37dda 100644
--- a/Source/core/platform/ScrollableArea.cpp
+++ b/Source/core/platform/ScrollableArea.cpp
@@ -402,11 +402,6 @@ IntPoint ScrollableArea::clampScrollPosition(const IntPoint& scrollPosition) con
return scrollPosition.shrunkTo(maximumScrollPosition()).expandedTo(minimumScrollPosition());
}
-TextDirection ScrollableArea::textDirection() const
-{
- return !m_scrollOrigin.x() ? LTR : RTL;
-}
-
int ScrollableArea::lineStep(ScrollbarOrientation) const
{
return pixelsPerLineStep();

Powered by Google App Engine
This is Rietveld 408576698