Index: chrome/browser/accessibility/accessibility_extension_api.cc |
diff --git a/chrome/browser/accessibility/accessibility_extension_api.cc b/chrome/browser/accessibility/accessibility_extension_api.cc |
index 63957ae5049cd631c65a57a630c6e295f667431e..8cbc4d3bceb48aa1d4d084f915bddddd68d1f8f7 100644 |
--- a/chrome/browser/accessibility/accessibility_extension_api.cc |
+++ b/chrome/browser/accessibility/accessibility_extension_api.cc |
@@ -323,10 +323,10 @@ bool AccessibilityPrivateSetFocusRingFunction::RunSync() { |
base::DictionaryValue* rect_value = NULL; |
EXTENSION_FUNCTION_VALIDATE(rect_values->GetDictionary(i, &rect_value)); |
int left, top, width, height; |
- EXTENSION_FUNCTION_VALIDATE(rect_value->GetInteger("left", &left)); |
- EXTENSION_FUNCTION_VALIDATE(rect_value->GetInteger("top", &top)); |
- EXTENSION_FUNCTION_VALIDATE(rect_value->GetInteger("width", &width)); |
- EXTENSION_FUNCTION_VALIDATE(rect_value->GetInteger("height", &height)); |
+ EXTENSION_FUNCTION_VALIDATE(rect_value->GetInteger(keys::kLeft, &left)); |
+ EXTENSION_FUNCTION_VALIDATE(rect_value->GetInteger(keys::kTop, &top)); |
+ EXTENSION_FUNCTION_VALIDATE(rect_value->GetInteger(keys::kWidth, &width)); |
+ EXTENSION_FUNCTION_VALIDATE(rect_value->GetInteger(keys::kHeight, &height)); |
rects.push_back(gfx::Rect(left, top, width, height)); |
} |