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

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

Issue 2615773003: Replace LayerImpl::sorting_context_id with transform reference. (Closed)
Patch Set: Update tests. Created 3 years, 11 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 f43b2bb58766fa1c7f8bed9a025e9568fc3f028a..a9c5296368d5b6805b0ec6ff884a69c85ab2ed97 100644
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
@@ -1211,12 +1211,6 @@ void PaintArtifactCompositor::update(
layer->SetEffectTreeIndex(effectId);
layer->SetScrollTreeIndex(scrollId);
- // TODO(jbroman): This probably shouldn't be necessary, but it is still
- // queried by RenderSurfaceImpl.
- layer->Set3dSortingContextId(layerTree->property_trees()
- ->transform_tree.Node(transformId)
- ->sorting_context_id);
-
layer->SetShouldCheckBackfaceVisibility(pendingLayer.backfaceHidden);
if (m_extraDataForTestingEnabled)

Powered by Google App Engine
This is Rietveld 408576698