| Index: Source/core/frame/FrameView.cpp
|
| ===================================================================
|
| --- Source/core/frame/FrameView.cpp (revision 178687)
|
| +++ Source/core/frame/FrameView.cpp (working copy)
|
| @@ -1320,25 +1320,6 @@
|
| }
|
| }
|
|
|
| -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()));
|
|
|