Index: chrome/browser/extensions/api/webrtc_desktop_capture_private/webrtc_desktop_capture_private_api.cc |
diff --git a/chrome/browser/extensions/api/webrtc_desktop_capture_private/webrtc_desktop_capture_private_api.cc b/chrome/browser/extensions/api/webrtc_desktop_capture_private/webrtc_desktop_capture_private_api.cc |
index 014de442798cb33cd8e01ca0c6aaf7ea3dd9dcf6..db9ae65e6011ee3a288a3f371f6b99edf6e0aa5f 100644 |
--- a/chrome/browser/extensions/api/webrtc_desktop_capture_private/webrtc_desktop_capture_private_api.cc |
+++ b/chrome/browser/extensions/api/webrtc_desktop_capture_private/webrtc_desktop_capture_private_api.cc |
@@ -47,7 +47,7 @@ bool WebrtcDesktopCapturePrivateChooseDesktopMediaFunction::RunAsync() { |
args_->Remove(0, NULL); |
- scoped_ptr<Params> params = Params::Create(*args_); |
+ std::unique_ptr<Params> params = Params::Create(*args_); |
EXTENSION_FUNCTION_VALIDATE(params.get()); |
content::RenderFrameHost* rfh = content::RenderFrameHost::FromID( |