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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp

Issue 1405993008: compositor-worker: plumb element id and mutable properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years 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/platform/graphics/GraphicsLayer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
index 256190d7c91ed484781411e952bd2d5e2d14e61b..93970ac0cfd8dc66ffbed99523982af4e1d95a6c 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -1215,6 +1215,18 @@ PaintController* GraphicsLayer::paintController()
return m_paintController.get();
}
+void GraphicsLayer::setElementId(uint64_t id)
+{
+ if (WebLayer* layer = platformLayer())
+ layer->setElementId(id);
+}
+
+void GraphicsLayer::setCompositorMutableProperties(uint32_t properties)
+{
+ if (WebLayer* layer = platformLayer())
+ layer->setCompositorMutableProperties(properties);
+}
+
} // namespace blink
#ifndef NDEBUG

Powered by Google App Engine
This is Rietveld 408576698