| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 48c5120e1a3c90d399edb2a6627479408dac94e3..aa9c0c56bccd29c71180100aff6a108e5fb3b97e 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -1914,6 +1914,16 @@ void WebViewImpl::beginFrame(const WebBeginFrameArgs& frameTime)
|
| }
|
| }
|
|
|
| +void WebViewImpl::setNeedsLayoutAndFullPaintInvalidation()
|
| +{
|
| + if (!mainFrameImpl() || !mainFrameImpl()->frame() || !mainFrameImpl()->frame()->view())
|
| + return;
|
| +
|
| + FrameView* view = mainFrameImpl()->frame()->view();
|
| + view->setNeedsLayout();
|
| + view->setNeedsFullPaintInvalidation();
|
| +}
|
| +
|
| void WebViewImpl::layout()
|
| {
|
| TRACE_EVENT0("blink", "WebViewImpl::layout");
|
|
|