Index: components/test_runner/web_frame_test_client.cc |
diff --git a/components/test_runner/web_frame_test_client.cc b/components/test_runner/web_frame_test_client.cc |
index 7f183aab9c6f78b4e1c77619a3fdd602209d1a78..0af3babda9dcc53cd8ee3451384e4e8ed8b3049b 100644 |
--- a/components/test_runner/web_frame_test_client.cc |
+++ b/components/test_runner/web_frame_test_client.cc |
@@ -4,8 +4,9 @@ |
#include "components/test_runner/web_frame_test_client.h" |
+#include <memory> |
+ |
#include "base/logging.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/strings/string_piece.h" |
#include "base/strings/string_util.h" |
#include "base/strings/stringprintf.h" |
@@ -759,7 +760,7 @@ void WebFrameTestClient::checkIfAudioSinkExistsAndIsAuthorized( |
const blink::WebString& sink_id, |
const blink::WebSecurityOrigin& security_origin, |
blink::WebSetSinkIdCallbacks* web_callbacks) { |
- scoped_ptr<blink::WebSetSinkIdCallbacks> callback(web_callbacks); |
+ std::unique_ptr<blink::WebSetSinkIdCallbacks> callback(web_callbacks); |
std::string device_id = sink_id.utf8(); |
if (device_id == "valid" || device_id.empty()) |
callback->onSuccess(); |