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 |