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

Unified Diff: cc/test/layer_tree_json_parser.cc

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_json_parser.cc
diff --git a/cc/test/layer_tree_json_parser.cc b/cc/test/layer_tree_json_parser.cc
index e94bbea6f7b97a7edac61d650fd7e6dc8a4c3c63..48bc3cec41484bf9c5b86a70c42820add55c9570 100644
--- a/cc/test/layer_tree_json_parser.cc
+++ b/cc/test/layer_tree_json_parser.cc
@@ -131,7 +131,7 @@ scoped_refptr<Layer> ParseTreeFromValue(base::Value* val,
bool is_3d_sorted;
if (dict->GetBoolean("Is3DSorted", &is_3d_sorted))
- new_layer->SetIs3dSorted(is_3d_sorted);
+ new_layer->SetRenderingContextId(1); // A non-zero context ID = 3d sorted
danakj 2014/06/15 18:15:36 can you make this comment a proper sentence (ie s/
troyhildebrandt 2014/06/17 00:29:43 Done.
if (dict->HasKey("TouchRegion")) {
success &= dict->GetList("TouchRegion", &list);

Powered by Google App Engine
This is Rietveld 408576698