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

Unified Diff: chrome/browser/extensions/api/runtime/runtime_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/runtime/runtime_api.cc
diff --git a/chrome/browser/extensions/api/runtime/runtime_api.cc b/chrome/browser/extensions/api/runtime/runtime_api.cc
index 6143f156b43ae54d537d8af6581ce37bcf8e5fac..e54664e5eed9f27eece1eab365043b9a3fc26318 100644
--- a/chrome/browser/extensions/api/runtime/runtime_api.cc
+++ b/chrome/browser/extensions/api/runtime/runtime_api.cc
@@ -114,7 +114,7 @@ void SetUninstallUrl(ExtensionPrefs* prefs,
const std::string& url_string) {
prefs->UpdateExtensionPref(extension_id,
kUninstallUrl,
- base::Value::CreateStringValue(url_string));
+ new base::StringValue(url_string));
}
std::string GetUninstallUrl(ExtensionPrefs* prefs,
« no previous file with comments | « chrome/browser/extensions/api/rtc_private/rtc_private_api.cc ('k') | chrome/browser/extensions/api/serial/serial_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698