Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Unified Diff: third_party/WebKit/Source/web/WebViewFrameWidget.cpp

Issue 2342103002: Refactor the way PaintArtifactCompositor is attached and used. (Closed)
Patch Set: none Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebViewFrameWidget.cpp
diff --git a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
index a70cb9644d28ebd648ff1bde2d79d5a41ae717f3..6e820bf4ebee7656e6c3ac3239e57d6f0fb75f73 100644
--- a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
+++ b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
@@ -282,6 +282,11 @@ void WebViewFrameWidget::setRootGraphicsLayer(GraphicsLayer* layer)
m_webView->setRootGraphicsLayer(layer);
}
+void WebViewFrameWidget::setRootLayer(WebLayer* layer)
+{
+ m_webView->setRootLayer(layer);
+}
+
void WebViewFrameWidget::attachCompositorAnimationTimeline(CompositorAnimationTimeline* compositorTimeline)
{
m_webView->attachCompositorAnimationTimeline(compositorTimeline);

Powered by Google App Engine
This is Rietveld 408576698