Commit a1dceecc authored by Steve Kobes's avatar Steve Kobes Committed by Commit Bot

Update WebFrame::VisibleContentRect for RLS.

TESTED=RenderViewImplTest.PreferredSizeZoomed passes with RLS

Bug: 785088
Change-Id: Ibce3e168a7b777b7ee4a51593177d6cbc162ec87
Reviewed-on: https://chromium-review.googlesource.com/886837Reviewed-by: default avatarDavid Bokan <bokan@chromium.org>
Commit-Queue: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532048}
parent a752dddf
......@@ -615,7 +615,7 @@ bool WebLocalFrameImpl::HasVisibleContent() const {
WebRect WebLocalFrameImpl::VisibleContentRect() const {
if (LocalFrameView* view = GetFrameView())
return view->VisibleContentRect();
return view->LayoutViewportScrollableArea()->VisibleContentRect();
return WebRect();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment