| Index: Source/WebKit/chromium/src/ChromeClientImpl.cpp
|
| diff --git a/Source/WebKit/chromium/src/ChromeClientImpl.cpp b/Source/WebKit/chromium/src/ChromeClientImpl.cpp
|
| index 146584bd9576c61020763703521d67d6c5d998eb..0775eed13074316b9ca784bb5997c2d740992dd0 100644
|
| --- a/Source/WebKit/chromium/src/ChromeClientImpl.cpp
|
| +++ b/Source/WebKit/chromium/src/ChromeClientImpl.cpp
|
| @@ -549,6 +549,14 @@ IntRect ChromeClientImpl::rootViewToScreen(const IntRect& rect) const
|
| return screenRect;
|
| }
|
|
|
| +void ChromeClientImpl::layoutBeforeScrollbarUpdate(WebCore::Frame* frame)
|
| +{
|
| + if (m_webView->mainFrameImpl()->frame() != frame)
|
| + return;
|
| +
|
| + m_webView->layoutBeforeScrollbarUpdate();
|
| +}
|
| +
|
| void ChromeClientImpl::contentsSizeChanged(Frame* frame, const IntSize& size) const
|
| {
|
| WebFrameImpl* webframe = WebFrameImpl::fromFrame(frame);
|
| @@ -558,9 +566,7 @@ void ChromeClientImpl::contentsSizeChanged(Frame* frame, const IntSize& size) co
|
|
|
| void ChromeClientImpl::layoutUpdated(Frame* frame) const
|
| {
|
| - WebFrameImpl* webframe = WebFrameImpl::fromFrame(frame);
|
| - if (webframe->client())
|
| - webframe->client()->didUpdateLayout(webframe);
|
| + m_webView->didUpdateLayout(WebFrameImpl::fromFrame(frame));
|
| }
|
|
|
| void ChromeClientImpl::scrollbarsModeDidChange() const
|
|
|