Index: android_webview/browser/net/token_binding_manager.cc |
diff --git a/android_webview/browser/net/token_binding_manager.cc b/android_webview/browser/net/token_binding_manager.cc |
index 7cf7c644eb3701d6bef1276d1819901a4874eec9..7ec0292056b39f570fb1b55231ca8e39c506f503 100644 |
--- a/android_webview/browser/net/token_binding_manager.cc |
+++ b/android_webview/browser/net/token_binding_manager.cc |
@@ -21,7 +21,7 @@ namespace { |
void CompletionCallback(TokenBindingManager::KeyReadyCallback callback, |
ChannelIDService::Request* request, |
- scoped_ptr<crypto::ECPrivateKey>* key, |
+ std::unique_ptr<crypto::ECPrivateKey>* key, |
int status) { |
BrowserThread::PostTask( |
BrowserThread::UI, FROM_HERE, |
@@ -39,8 +39,8 @@ void GetKeyImpl(const std::string& host, |
ChannelIDService* service = |
context_getter->GetURLRequestContext()->channel_id_service(); |
ChannelIDService::Request* request = new ChannelIDService::Request(); |
- scoped_ptr<crypto::ECPrivateKey>* key = |
- new scoped_ptr<crypto::ECPrivateKey>(); |
+ std::unique_ptr<crypto::ECPrivateKey>* key = |
+ new std::unique_ptr<crypto::ECPrivateKey>(); |
// The request will own the callback if the call to service returns |
// PENDING. The request releases the ownership before calling the callback. |
net::CompletionCallback completion_callback = base::Bind( |