| Index: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp
|
| index ecec9e6b48679b68839e849cfee560821e12e22a..332b0506b1e1f735fea213f95ba406ab637dff46 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp
|
| @@ -507,7 +507,7 @@
|
| {
|
| FakeGLES2Interface gl;
|
| std::unique_ptr<WebThread> test_thread =
|
| - Platform::Current()->CreateThread("TestThread");
|
| + WTF::WrapUnique(Platform::Current()->CreateThread("TestThread"));
|
|
|
| // The Canvas2DLayerBridge has to be created on the thread that will use it
|
| // to avoid WeakPtr thread check issues.
|
| @@ -560,7 +560,7 @@
|
| {
|
| FakeGLES2Interface gl;
|
| std::unique_ptr<WebThread> test_thread =
|
| - Platform::Current()->CreateThread("TestThread");
|
| + WTF::WrapUnique(Platform::Current()->CreateThread("TestThread"));
|
|
|
| // The Canvas2DLayerBridge has to be created on the thread that will use it
|
| // to avoid WeakPtr thread check issues.
|
| @@ -620,7 +620,7 @@
|
| {
|
| FakeGLES2Interface gl;
|
| std::unique_ptr<WebThread> test_thread =
|
| - Platform::Current()->CreateThread("TestThread");
|
| + WTF::WrapUnique(Platform::Current()->CreateThread("TestThread"));
|
|
|
| // The Canvas2DLayerBridge has to be created on the thread that will use it
|
| // to avoid WeakPtr thread check issues.
|
| @@ -699,7 +699,7 @@
|
| {
|
| FakeGLES2Interface gl;
|
| std::unique_ptr<WebThread> test_thread =
|
| - Platform::Current()->CreateThread("TestThread");
|
| + WTF::WrapUnique(Platform::Current()->CreateThread("TestThread"));
|
|
|
| // The Canvas2DLayerBridge has to be created on the thread that will use it
|
| // to avoid WeakPtr thread check issues.
|
| @@ -764,7 +764,7 @@
|
| {
|
| FakeGLES2Interface gl;
|
| std::unique_ptr<WebThread> test_thread =
|
| - Platform::Current()->CreateThread("TestThread");
|
| + WTF::WrapUnique(Platform::Current()->CreateThread("TestThread"));
|
|
|
| // The Canvas2DLayerBridge has to be created on the thread that will use it
|
| // to avoid WeakPtr thread check issues.
|
| @@ -837,7 +837,7 @@
|
| {
|
| FakeGLES2Interface gl;
|
| std::unique_ptr<WebThread> test_thread =
|
| - Platform::Current()->CreateThread("TestThread");
|
| + WTF::WrapUnique(Platform::Current()->CreateThread("TestThread"));
|
|
|
| // The Canvas2DLayerBridge has to be created on the thread that will use it
|
| // to avoid WeakPtr thread check issues.
|
| @@ -908,7 +908,7 @@
|
| {
|
| FakeGLES2Interface gl;
|
| std::unique_ptr<WebThread> test_thread =
|
| - Platform::Current()->CreateThread("TestThread");
|
| + WTF::WrapUnique(Platform::Current()->CreateThread("TestThread"));
|
|
|
| // The Canvas2DLayerBridge has to be created on the thread that will use it
|
| // to avoid WeakPtr thread check issues.
|
| @@ -952,7 +952,7 @@
|
| {
|
| FakeGLES2Interface gl;
|
| std::unique_ptr<WebThread> test_thread =
|
| - Platform::Current()->CreateThread("TestThread");
|
| + WTF::WrapUnique(Platform::Current()->CreateThread("TestThread"));
|
|
|
| // The Canvas2DLayerBridge has to be created on the thread that will use it
|
| // to avoid WeakPtr thread check issues.
|
| @@ -1015,7 +1015,7 @@
|
| {
|
| FakeGLES2Interface gl;
|
| std::unique_ptr<WebThread> test_thread =
|
| - Platform::Current()->CreateThread("TestThread");
|
| + WTF::WrapUnique(Platform::Current()->CreateThread("TestThread"));
|
|
|
| // The Canvas2DLayerBridge has to be created on the thread that will use it
|
| // to avoid WeakPtr thread check issues.
|
| @@ -1063,7 +1063,7 @@
|
| {
|
| FakeGLES2Interface gl;
|
| std::unique_ptr<WebThread> test_thread =
|
| - Platform::Current()->CreateThread("TestThread");
|
| + WTF::WrapUnique(Platform::Current()->CreateThread("TestThread"));
|
|
|
| // The Canvas2DLayerBridge has to be created on the thread that will use it
|
| // to avoid WeakPtr thread check issues.
|
| @@ -1109,7 +1109,7 @@
|
| {
|
| FakeGLES2Interface gl;
|
| std::unique_ptr<WebThread> test_thread =
|
| - Platform::Current()->CreateThread("TestThread");
|
| + WTF::WrapUnique(Platform::Current()->CreateThread("TestThread"));
|
|
|
| // The Canvas2DLayerBridge has to be created on the thread that will use it
|
| // to avoid WeakPtr thread check issues.
|
| @@ -1155,7 +1155,7 @@
|
| {
|
| FakeGLES2Interface gl;
|
| std::unique_ptr<WebThread> test_thread =
|
| - Platform::Current()->CreateThread("TestThread");
|
| + WTF::WrapUnique(Platform::Current()->CreateThread("TestThread"));
|
|
|
| // The Canvas2DLayerBridge has to be created on the thread that will use it
|
| // to avoid WeakPtr thread check issues.
|
| @@ -1198,7 +1198,7 @@
|
| {
|
| FakeGLES2Interface gl;
|
| std::unique_ptr<WebThread> test_thread =
|
| - Platform::Current()->CreateThread("TestThread");
|
| + WTF::WrapUnique(Platform::Current()->CreateThread("TestThread"));
|
|
|
| // The Canvas2DLayerBridge has to be created on the thread that will use it
|
| // to avoid WeakPtr thread check issues.
|
| @@ -1247,7 +1247,7 @@
|
| {
|
| FakeGLES2Interface gl;
|
| std::unique_ptr<WebThread> test_thread =
|
| - Platform::Current()->CreateThread("TestThread");
|
| + WTF::WrapUnique(Platform::Current()->CreateThread("TestThread"));
|
|
|
| // The Canvas2DLayerBridge has to be created on the thread that will use it
|
| // to avoid WeakPtr thread check issues.
|
|
|