| Index: chrome/test/chromedriver/chrome/automation_extension.cc
|
| diff --git a/chrome/test/chromedriver/chrome/automation_extension.cc b/chrome/test/chromedriver/chrome/automation_extension.cc
|
| index 9318930006ed3bda4b9869fcbea5dba99f66e822..2aa4d22a0ae1d945e50d3f0599ded5fc0e482f68 100644
|
| --- a/chrome/test/chromedriver/chrome/automation_extension.cc
|
| +++ b/chrome/test/chromedriver/chrome/automation_extension.cc
|
| @@ -76,8 +76,11 @@ Status AutomationExtension::GetWindowInfo(int* x,
|
| if (status.IsError())
|
| return status;
|
|
|
| - int temp_x, temp_y, temp_width, temp_height;
|
| base::DictionaryValue* dict;
|
| + int temp_x = 0;
|
| + int temp_y = 0;
|
| + int temp_width = 0;
|
| + int temp_height = 0;
|
| if (!result->GetAsDictionary(&dict) ||
|
| !dict->GetInteger("left", &temp_x) ||
|
| !dict->GetInteger("top", &temp_y) ||
|
|
|