base::DictionaryValue* dict_value;
if (!value->GetAsDictionary(&dict_value))
return false;
- double x, y;
+ double x = 0;
+ double y = 0;
if (!dict_value->GetDouble("x", &x) ||
!dict_value->GetDouble("y", &y))
return false;
base::DictionaryValue* dict_value;
if (!value->GetAsDictionary(&dict_value))
return false;
- double width, height;
+ double width = 0;
+ double height = 0;
if (!dict_value->GetDouble("width", &width) ||
!dict_value->GetDouble("height", &height))
return false;
base::DictionaryValue* dict_value;
if (!value->GetAsDictionary(&dict_value))
return false;
- double x, y, width, height;
+ double x = 0;
+ double y = 0;
+ double width = 0;
+ double height = 0;
if (!dict_value->GetDouble("left", &x) ||
!dict_value->GetDouble("top", &y) ||
!dict_value->GetDouble("width", &width) ||
if (status.IsError())
return status;
base::DictionaryValue* dict;
- bool is_clickable;
+ bool is_clickable = false;
if (!result->GetAsDictionary(&dict) ||
!dict->GetBoolean("clickable", &is_clickable)) {
return Status(kUnknownError,