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 1514d83487797aa8294f705d97a148fdbf33350a..b9fba49a3468f7e18b6592980f223195361b5983 100644 |
--- a/cc/test/layer_tree_json_parser.cc |
+++ b/cc/test/layer_tree_json_parser.cc |
@@ -26,9 +26,9 @@ scoped_refptr<Layer> ParseTreeFromValue(base::Value* val, |
success &= dict->GetString("LayerType", &layer_type); |
base::ListValue* list; |
success &= dict->GetList("Bounds", &list); |
- int width, height; |
- success &= list->GetInteger(0, &width); |
- success &= list->GetInteger(1, &height); |
+ double width, height; |
+ success &= list->GetDouble(0, &width); |
+ success &= list->GetDouble(1, &height); |
success &= dict->GetList("Position", &list); |
double position_x, position_y; |
success &= list->GetDouble(0, &position_x); |