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

Unified Diff: chrome/browser/extensions/api/system_storage/system_storage_api.cc

Issue 22885002: c/b/extensions, json_schema_compiler: Do not use Value::Create*. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removed C-style casts. Created 7 years, 4 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
Index: chrome/browser/extensions/api/system_storage/system_storage_api.cc
diff --git a/chrome/browser/extensions/api/system_storage/system_storage_api.cc b/chrome/browser/extensions/api/system_storage/system_storage_api.cc
index cf640ab5a3e750aabd9112559fe69b4858070979..4c2301ee6aee9f82022c9672f1c8f610822206ac 100644
--- a/chrome/browser/extensions/api/system_storage/system_storage_api.cc
+++ b/chrome/browser/extensions/api/system_storage/system_storage_api.cc
@@ -87,7 +87,7 @@ void SystemStorageEjectDeviceFunction::HandleResponse(
result = api::system_storage::EJECT_DEVICE_RESULT_CODE_FAILURE;
}
- SetResult(base::StringValue::CreateStringValue(
+ SetResult(new base::StringValue(
api::system_storage::ToString(result)));
SendResponse(true);
}
« no previous file with comments | « chrome/browser/extensions/api/system_private/system_private_api.cc ('k') | chrome/browser/extensions/api/tabs/tabs_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698