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

Unified Diff: extensions/renderer/api_signature.cc

Issue 2792573002: Remove base::Value::CreateNullValue (Closed)
Patch Set: Rebase Created 3 years, 8 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: extensions/renderer/api_signature.cc
diff --git a/extensions/renderer/api_signature.cc b/extensions/renderer/api_signature.cc
index 733ec8ed491c9caa5ab89ebbf19dae0856a2817a..d33423411d2ce454b245e270596318cb1e1f3ff2 100644
--- a/extensions/renderer/api_signature.cc
+++ b/extensions/renderer/api_signature.cc
@@ -132,7 +132,7 @@ class BaseValueArgumentParser : public ArgumentParser {
private:
void AddNull() override {
- list_value_->Append(base::Value::CreateNullValue());
+ list_value_->Append(base::MakeUnique<base::Value>());
}
void AddNullCallback() override {
// The base::Value conversion doesn't include the callback directly, so we
« no previous file with comments | « extensions/common/permissions/manifest_permission_set_unittest.cc ('k') | extensions/renderer/script_injection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698