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

Unified Diff: cc/test/layer_tree_host_common_test.h

Issue 332873005: Rendering context information added to SharedQuadState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rendering context now in Layers, removed is_3d_sorted Created 6 years, 6 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: cc/test/layer_tree_host_common_test.h
diff --git a/cc/test/layer_tree_host_common_test.h b/cc/test/layer_tree_host_common_test.h
index 38dd85ac3518a188f8dc5e4d5ddc1297fb41c25e..2330e5b078d2fe1eea0bf20ef9864b45d7a4746c 100644
--- a/cc/test/layer_tree_host_common_test.h
+++ b/cc/test/layer_tree_host_common_test.h
@@ -43,7 +43,7 @@ class LayerTreeHostCommonTestBase {
layer->SetPosition(position);
layer->SetBounds(bounds);
layer->SetShouldFlattenTransform(flatten_transform);
- layer->SetIs3dSorted(is_3d_sorted);
+ layer->SetRenderingContextId(is_3d_sorted ? 1 : 0);
}
void SetLayerPropertiesForTesting(Layer* layer,

Powered by Google App Engine
This is Rietveld 408576698