Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1971)

Unified Diff: chrome/browser/accessibility/accessibility_extension_api.cc

Issue 399493002: Remove many instances of CreateBooleanValue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6bbb3db21020ef66bbabdd3f80520af36000bef2..cac4f2c50887c01ace6db72238ab3b5640094ed7 100644
--- a/chrome/browser/accessibility/accessibility_extension_api.cc
+++ b/chrome/browser/accessibility/accessibility_extension_api.cc
@@ -194,8 +194,8 @@ void ExtensionAccessibilityEventRouter::OnChromeVoxLoadStateChanged(
bool loading,
bool make_announcements) {
scoped_ptr<base::ListValue> event_args(new base::ListValue());
- event_args->Append(base::Value::CreateBooleanValue(loading));
- event_args->Append(base::Value::CreateBooleanValue(make_announcements));
+ event_args->AppendBoolean(loading);
+ event_args->AppendBoolean(make_announcements);
ExtensionAccessibilityEventRouter::DispatchEventToChromeVox(
profile,
accessibility_private::OnChromeVoxLoadStateChanged::kEventName,
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698