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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceResponseTest.cpp

Issue 2846843002: [blink] Unique pointers in Platform.h (Closed)
Patch Set: fix compilation (and again) 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/platform/loader/fetch/ResourceResponseTest.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceResponseTest.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceResponseTest.cpp
index 26410f60a33f5471ed65c36ac55e2f14a997d5e3..3d612c9d86b715656452bca92aef64be2913ba7d 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceResponseTest.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceResponseTest.cpp
@@ -73,7 +73,7 @@ TEST(ResourceResponseTest, CrossThreadAtomicStrings) {
ResourceResponse response(CreateTestResponse());
RunHeaderRelatedTest(response);
std::unique_ptr<WebThread> thread =
- WTF::WrapUnique(Platform::Current()->CreateThread("WorkerThread"));
+ Platform::Current()->CreateThread("WorkerThread");
thread->GetWebTaskRunner()->PostTask(BLINK_FROM_HERE,
CrossThreadBind(&RunInThread));
thread.reset();

Powered by Google App Engine
This is Rietveld 408576698