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 7294d6f8463ad5ec09290ae1129b13ae31bd4f1f..1f0257e7c9182dfdcfa463e0fd84ebd0452a5a2e 100644 |
--- a/extensions/browser/app_window/app_window.cc |
+++ b/extensions/browser/app_window/app_window.cc |
@@ -88,7 +88,7 @@ void SetBoundsProperties(const gfx::Rect& bounds, |
const gfx::Size& max_size, |
const std::string& bounds_name, |
base::DictionaryValue* window_properties) { |
- scoped_ptr<base::DictionaryValue> bounds_properties( |
+ std::unique_ptr<base::DictionaryValue> bounds_properties( |
new base::DictionaryValue()); |
bounds_properties->SetInteger("left", bounds.x()); |
@@ -583,7 +583,7 @@ void AppWindow::SetAppIconUrl(const GURL& url) { |
image_loader_ptr_factory_.GetWeakPtr())); |
} |
-void AppWindow::UpdateShape(scoped_ptr<SkRegion> region) { |
+void AppWindow::UpdateShape(std::unique_ptr<SkRegion> region) { |
native_app_window_->UpdateShape(std::move(region)); |
} |