Index: content/browser/accessibility/accessibility_ui.cc |
diff --git a/content/browser/accessibility/accessibility_ui.cc b/content/browser/accessibility/accessibility_ui.cc |
index 1f4df798f46b6224b0e9327559e17c65a625657c..628c54575cef32932af38cfc781de53ef480b311 100644 |
--- a/content/browser/accessibility/accessibility_ui.cc |
+++ b/content/browser/accessibility/accessibility_ui.cc |
@@ -116,9 +116,9 @@ bool HandleRequestCallback(BrowserContext* current_context, |
scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); |
data->Set("list", rvh_list.release()); |
- scoped_ptr<base::FundamentalValue> a11y_mode(base::Value::CreateIntegerValue( |
- BrowserAccessibilityStateImpl::GetInstance()->accessibility_mode())); |
- data->Set("global_a11y_mode", a11y_mode.release()); |
+ data->SetInteger( |
+ "global_a11y_mode", |
+ BrowserAccessibilityStateImpl::GetInstance()->accessibility_mode()); |
std::string json_string; |
base::JSONWriter::Write(data.get(), &json_string); |