diff options
Diffstat (limited to 'cc/test/layer_tree_json_parser.cc')
-rw-r--r-- | cc/test/layer_tree_json_parser.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/test/layer_tree_json_parser.cc b/cc/test/layer_tree_json_parser.cc index de7fc70..669010e 100644 --- a/cc/test/layer_tree_json_parser.cc +++ b/cc/test/layer_tree_json_parser.cc @@ -77,6 +77,10 @@ scoped_refptr<Layer> ParseTreeFromValue(base::Value* val, if (dict->GetDouble("Opacity", &opacity)) new_layer->SetOpacity(opacity); + bool scrollable; + if (dict->GetBoolean("Scrollable", &scrollable)) + new_layer->SetScrollable(scrollable); + success &= dict->GetList("DrawTransform", &list); double transform[16]; for (int i = 0; i < 16; ++i) |