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

Unified Diff: third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.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/DeferredImageDecoderTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
index f069ebcf596782be8d8eb92defa756993f726d39..2e0e007cc221b427abeb514d1eeb28400a623a86 100644
--- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
@@ -217,7 +217,7 @@ TEST_F(DeferredImageDecoderTest, decodeOnOtherThread) {
// Create a thread to rasterize PaintRecord.
std::unique_ptr<WebThread> thread =
- WTF::WrapUnique(Platform::Current()->CreateThread("RasterThread"));
+ Platform::Current()->CreateThread("RasterThread");
thread->GetWebTaskRunner()->PostTask(
BLINK_FROM_HERE,
CrossThreadBind(&RasterizeMain, CrossThreadUnretained(canvas_.get()),

Powered by Google App Engine
This is Rietveld 408576698