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

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

Issue 2899743002: Remove raw base::DictionaryValue::Set in //extensions (Closed)
Patch Set: Rebase Created 3 years, 7 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 86fe183046fba773556c46e73e227b59d766ec74..5fb1c1f0c37e2acdb463ff732d243eba45c3f227 100644
--- a/extensions/browser/app_window/app_window.cc
+++ b/extensions/browser/app_window/app_window.cc
@@ -104,7 +104,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

Powered by Google App Engine
This is Rietveld 408576698