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

Unified Diff: extensions/browser/app_window/app_window.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/browser/app_window/app_window.cc
diff --git a/extensions/browser/app_window/app_window.cc b/extensions/browser/app_window/app_window.cc
index 6d52ad22e934d4cd93892d50f5f57a97cc8d0a75..20edc89c651d05ae3b6b56fdce0fbbb14ddca208 100644
--- a/extensions/browser/app_window/app_window.cc
+++ b/extensions/browser/app_window/app_window.cc
@@ -81,7 +81,7 @@ void SetConstraintProperty(const std::string& name,
if (value != SizeConstraints::kUnboundedSize)
bounds_properties->SetInteger(name, value);
else
- bounds_properties->Set(name, base::Value::CreateNullValue());
+ bounds_properties->Set(name, base::MakeUnique<base::Value>());
}
void SetBoundsProperties(const gfx::Rect& bounds,
« no previous file with comments | « extensions/browser/api/socket/socket_api.cc ('k') | extensions/common/permissions/manifest_permission_set_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698