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 |