Index: content/renderer/shared_worker/embedded_shared_worker_stub.cc |
diff --git a/content/renderer/shared_worker/embedded_shared_worker_stub.cc b/content/renderer/shared_worker/embedded_shared_worker_stub.cc |
index b1f001c7434bc194535186b66ae0b44ff63155a0..30ac9cb9ccf9d9316f12aef112ccfcc135c8dfb6 100644 |
--- a/content/renderer/shared_worker/embedded_shared_worker_stub.cc |
+++ b/content/renderer/shared_worker/embedded_shared_worker_stub.cc |
@@ -83,7 +83,7 @@ class WebServiceWorkerNetworkProviderImpl |
blink::WebURLRequest& request) override { |
ServiceWorkerNetworkProvider* provider = |
GetNetworkProviderFromDataSource(data_source); |
- scoped_ptr<RequestExtraData> extra_data(new RequestExtraData); |
+ std::unique_ptr<RequestExtraData> extra_data(new RequestExtraData); |
extra_data->set_service_worker_provider_id(provider->provider_id()); |
request.setExtraData(extra_data.release()); |
// Explicitly set the SkipServiceWorker flag for subresources here if the |
@@ -239,7 +239,7 @@ EmbeddedSharedWorkerStub::createServiceWorkerNetworkProvider( |
blink::WebDataSource* data_source) { |
// Create a content::ServiceWorkerNetworkProvider for this data source so |
// we can observe its requests. |
- scoped_ptr<ServiceWorkerNetworkProvider> provider( |
+ std::unique_ptr<ServiceWorkerNetworkProvider> provider( |
new ServiceWorkerNetworkProvider( |
route_id_, SERVICE_WORKER_PROVIDER_FOR_SHARED_WORKER)); |