| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 54528301108a1b1ffa35069b4b4a863736ad9565..a19445f46bb2cf0847550419a5c9abe31d3cd6d3 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -1939,7 +1939,10 @@ void WebViewImpl::paint(WebCanvas* canvas, const WebRect& rect)
|
|
|
| void WebViewImpl::didCommitCompositorFrame()
|
| {
|
| - // TODO(skyostil): Update the throttling status of all frames in the tree.
|
| + if (!mainFrameImpl() || !mainFrameImpl()->frameView())
|
| + return;
|
| + FrameView* view = mainFrameImpl()->frameView();
|
| + view->updateThrottling();
|
| }
|
|
|
| #if OS(ANDROID)
|
|
|