Index: third_party/WebKit/Source/web/LocalFrameClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp |
index 914d1f3c76b88b5cd02b5a207f9d37e96682bfee..68939ce6904acfbd9a12d603fe96a372c413f0ab 100644 |
--- a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp |
@@ -907,7 +907,7 @@ std::unique_ptr<WebServiceWorkerProvider> |
LocalFrameClientImpl::CreateServiceWorkerProvider() { |
if (!web_frame_->Client()) |
return nullptr; |
- return WTF::WrapUnique(web_frame_->Client()->CreateServiceWorkerProvider()); |
+ return web_frame_->Client()->CreateServiceWorkerProvider(); |
} |
ContentSettingsClient& LocalFrameClientImpl::GetContentSettingsClient() { |
@@ -924,8 +924,7 @@ LocalFrameClientImpl::CreateApplicationCacheHost( |
WebApplicationCacheHostClient* client) { |
if (!web_frame_->Client()) |
return nullptr; |
- return WTF::WrapUnique( |
- web_frame_->Client()->CreateApplicationCacheHost(client)); |
+ return web_frame_->Client()->CreateApplicationCacheHost(client); |
} |
void LocalFrameClientImpl::DispatchDidChangeManifest() { |