| Index: Source/core/frame/FrameView.cpp
|
| diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
|
| index ad9ff8c9b3f343bb48eb436cf4880d5bc147fa8e..5aabef3d3bf3310298e6dc04bc98a16486ec744e 100644
|
| --- a/Source/core/frame/FrameView.cpp
|
| +++ b/Source/core/frame/FrameView.cpp
|
| @@ -1297,25 +1297,6 @@ void FrameView::viewportConstrainedVisibleContentSizeChanged(bool widthChanged,
|
| }
|
| }
|
|
|
| -bool FrameView::shouldPlaceVerticalScrollbarOnLeft() const
|
| -{
|
| - // FIXME: Mainframe scrollbar placement should respect the embedding application RTL UI policy.
|
| - // See crbug.com/249860.
|
| - if (m_frame->isMainFrame())
|
| - return false;
|
| -
|
| - Document* document = m_frame->document();
|
| - if (!document)
|
| - return false;
|
| -
|
| - // <body> inherits 'direction' from <html>, so it can safaly be used
|
| - // to dictate the frame vertical scrollbar placement.
|
| - if (!document->body() || !document->body()->renderer())
|
| - return false;
|
| -
|
| - return document->body()->renderer()->style()->shouldPlaceBlockDirectionScrollbarOnLogicalLeft();
|
| -}
|
| -
|
| IntSize FrameView::scrollOffsetForFixedPosition() const
|
| {
|
| return toIntSize(clampScrollPosition(scrollPosition()));
|
|
|