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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.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/graphics/ImageFrameGeneratorTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp b/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp
index 5cfad8053b10c4e47e5de4cd26378cc7dbd5c4c2..e7fe76d4043b21cb92cd51feb73e1c9e70d57093 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp
@@ -192,7 +192,7 @@ TEST_F(ImageFrameGeneratorTest, incompleteDecodeBecomesCompleteMultiThreaded) {
SetFrameStatus(ImageFrame::kFrameComplete);
AddNewData();
std::unique_ptr<WebThread> thread =
- WTF::WrapUnique(Platform::Current()->CreateThread("DecodeThread"));
+ Platform::Current()->CreateThread("DecodeThread");
thread->GetWebTaskRunner()->PostTask(
BLINK_FROM_HERE,
CrossThreadBind(&DecodeThreadMain, generator_, segment_reader_));

Powered by Google App Engine
This is Rietveld 408576698