Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: third_party/WebKit/Source/core/loader/PingLoader.cpp

Issue 2831033002: Use unique_ptr for Platform::CreateURLLoader (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/loader/PingLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp
index 563614afeba79ec013bcce3d6ef19a7c56a3e840..9359f29189f3ed901b0864c00140379c291c9d09 100644
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
@@ -267,7 +267,7 @@ PingLoaderImpl::PingLoaderImpl(LocalFrame* frame,
if (frame->FrameScheduler())
frame->FrameScheduler()->DidStopLoading(identifier_);
- loader_ = WTF::WrapUnique(Platform::Current()->CreateURLLoader());
+ loader_ = Platform::Current()->CreateURLLoader();
DCHECK(loader_);
WrappedResourceRequest wrapped_request(request);
wrapped_request.SetAllowStoredCredentials(credentials_allowed ==
« no previous file with comments | « content/test/test_blink_web_unit_test_support.cc ('k') | third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698