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

Unified Diff: cc/test/layer_tree_json_parser.cc

Issue 2254543004: cc : Delete LayerImpl::transform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 11645168b3c4ede8cad8abb8ebf734b0cb083cea..ffa8fa86a67f1f3563517cc13422950e81ef5447 100644
--- a/cc/test/layer_tree_json_parser.cc
+++ b/cc/test/layer_tree_json_parser.cc
@@ -141,15 +141,6 @@ scoped_refptr<Layer> ParseTreeFromValue(const base::Value& val,
new_layer->SetTouchEventHandlerRegion(touch_region);
}
- success &= dict->GetList("Transform", &list);
- double transform[16];
- for (int i = 0; i < 16; ++i)
- success &= list->GetDouble(i, &transform[i]);
-
- gfx::Transform layer_transform;
- layer_transform.matrix().setColMajord(transform);
- new_layer->SetTransform(layer_transform);
-
success &= dict->GetList("Children", &list);
for (const auto& value : *list) {
new_layer->AddChild(ParseTreeFromValue(*value, content_client));

Powered by Google App Engine
This is Rietveld 408576698