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

Unified Diff: Source/core/platform/chromium/support/WebScrollbarImpl.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/chromium/support/WebScrollbarImpl.cpp
diff --git a/Source/core/platform/chromium/support/WebScrollbarImpl.cpp b/Source/core/platform/chromium/support/WebScrollbarImpl.cpp
index f88bfbcd2258152e8dacc3691e82982500cddb75..6e5258dee7489ae6b63d5e66c45b0d6463442fd3 100644
--- a/Source/core/platform/chromium/support/WebScrollbarImpl.cpp
+++ b/Source/core/platform/chromium/support/WebScrollbarImpl.cpp
@@ -28,7 +28,6 @@
#include "core/platform/Scrollbar.h"
#include "core/platform/graphics/IntRect.h"
-#include "core/platform/text/TextDirection.h"
namespace WebKit {
@@ -119,9 +118,9 @@ WebScrollbar::Orientation WebScrollbarImpl::orientation() const
return static_cast<WebScrollbar::Orientation>(m_scrollbar->orientation());
}
-bool WebScrollbarImpl::isRightToLeft() const
+bool WebScrollbarImpl::isLeftSideVerticalScrollbar() const
{
- return m_scrollbar->textDirection() == WebCore::RTL;
+ return m_scrollbar->isLeftSideVerticalScrollbar();
}
bool WebScrollbarImpl::isCustomScrollbar() const

Powered by Google App Engine
This is Rietveld 408576698