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

Unified Diff: extensions/browser/app_window/app_window.cc

Issue 2899743002: Remove raw base::DictionaryValue::Set in //extensions (Closed)
Patch Set: Addressed nit Created 3 years, 6 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 a0e4b1d395d971983a154ff7a0a3be819a970110..ea3fa9ad2ddf4e97c42b5f22497ea181955ff384 100644
--- a/extensions/browser/app_window/app_window.cc
+++ b/extensions/browser/app_window/app_window.cc
@@ -102,7 +102,7 @@ void SetBoundsProperties(const gfx::Rect& bounds,
SetConstraintProperty(
"maxHeight", max_size.height(), bounds_properties.get());
- window_properties->Set(bounds_name, bounds_properties.release());
+ window_properties->Set(bounds_name, std::move(bounds_properties));
}
// Combines the constraints of the content and window, and returns constraints
« no previous file with comments | « extensions/browser/api/web_request/web_request_event_details.cc ('k') | extensions/browser/computed_hashes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698