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

Unified Diff: third_party/WebKit/Source/web/tests/SpinLockTest.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/web/tests/SpinLockTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/SpinLockTest.cpp b/third_party/WebKit/Source/web/tests/SpinLockTest.cpp
index d523feace0810d7debcc30de034e56af8a2c92e0..dbebace82070ee79ee0b54dffcbb62d2a1c968c4 100644
--- a/third_party/WebKit/Source/web/tests/SpinLockTest.cpp
+++ b/third_party/WebKit/Source/web/tests/SpinLockTest.cpp
@@ -74,9 +74,9 @@ TEST(SpinLockTest, Torture) {
char shared_buffer[kBufferSize];
std::unique_ptr<WebThread> thread1 =
- WTF::WrapUnique(Platform::Current()->CreateThread("thread1"));
+ Platform::Current()->CreateThread("thread1");
std::unique_ptr<WebThread> thread2 =
- WTF::WrapUnique(Platform::Current()->CreateThread("thread2"));
+ Platform::Current()->CreateThread("thread2");
thread1->GetWebTaskRunner()->PostTask(
BLINK_FROM_HERE,
« no previous file with comments | « third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698