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 |