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

Unified Diff: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp

Issue 2808463003: SPv2: Limit compositor element id application to a single layer. (Closed)
Patch Set: Revise expectations slightly. Created 3 years, 8 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/platform/graphics/compositing/PaintArtifactCompositor.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
index 54ffc58921f9af4cef63cad733cdc7684eb0ba01..21596abf10cb35f3b14797fc7a9c762725141f50 100644
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
@@ -644,7 +644,8 @@ void PaintArtifactCompositor::Update(
layer->set_offset_to_transform_parent(layer_offset);
CompositorElementId element_id =
- pending_layer.property_tree_state.GetCompositorElementId();
+ pending_layer.property_tree_state.GetCompositorElementId(
+ composited_element_ids);
if (element_id) {
layer->SetElementId(element_id);
composited_element_ids.insert(element_id);

Powered by Google App Engine
This is Rietveld 408576698