Index: third_party/WebKit/Source/web/WebViewImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp |
index a20c4c51ab3c0c1208d5c916a971d4eb0e729c4e..dcbe037f8fd47732d85719561056794f722947ee 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -1932,6 +1932,14 @@ void WebViewImpl::paint(WebCanvas* canvas, const WebRect& rect) |
Platform::current()->histogramCustomCounts("Renderer4.SoftwarePaintMegapixPerSecond", pixelsPerSec / 1000000, 10, 210, 30); |
} |
+void WebViewImpl::didCommitCompositorFrame() |
+{ |
+ if (!mainFrameImpl() || !mainFrameImpl()->frameView()) |
+ return; |
+ FrameView* view = mainFrameImpl()->frameView(); |
+ view->finalizeLifecycleUpdate(); |
+} |
+ |
#if OS(ANDROID) |
void WebViewImpl::paintCompositedDeprecated(WebCanvas* canvas, const WebRect& rect) |
{ |