| Index: third_party/WebKit/Source/core/workers/WorkerBackingThread.h
 | 
| diff --git a/third_party/WebKit/Source/core/workers/WorkerBackingThread.h b/third_party/WebKit/Source/core/workers/WorkerBackingThread.h
 | 
| index afbc4a0509ac1bdcb64a2d2d4975bd60f1734183..7734ed041b1135e63b8d7d380b8fb4eda9694acb 100644
 | 
| --- a/third_party/WebKit/Source/core/workers/WorkerBackingThread.h
 | 
| +++ b/third_party/WebKit/Source/core/workers/WorkerBackingThread.h
 | 
| @@ -7,9 +7,9 @@
 | 
|  
 | 
|  #include "core/CoreExport.h"
 | 
|  #include "wtf/Forward.h"
 | 
| -#include "wtf/OwnPtr.h"
 | 
| -#include "wtf/PassOwnPtr.h"
 | 
| +#include "wtf/PtrUtil.h"
 | 
|  #include "wtf/ThreadingPrimitives.h"
 | 
| +#include <memory>
 | 
|  #include <v8.h>
 | 
|  
 | 
|  namespace blink {
 | 
| @@ -27,13 +27,13 @@ class WebThreadSupportingGC;
 | 
|  // WorkerGlobalScopes) can share one WorkerBackingThread.
 | 
|  class CORE_EXPORT WorkerBackingThread final {
 | 
|  public:
 | 
| -    static PassOwnPtr<WorkerBackingThread> create(const char* name) { return adoptPtr(new WorkerBackingThread(name, false)); }
 | 
| -    static PassOwnPtr<WorkerBackingThread> create(WebThread* thread) { return adoptPtr(new WorkerBackingThread(thread, false)); }
 | 
| +    static std::unique_ptr<WorkerBackingThread> create(const char* name) { return wrapUnique(new WorkerBackingThread(name, false)); }
 | 
| +    static std::unique_ptr<WorkerBackingThread> create(WebThread* thread) { return wrapUnique(new WorkerBackingThread(thread, false)); }
 | 
|  
 | 
|      // These are needed to suppress leak reports. See
 | 
|      // https://crbug.com/590802 and https://crbug.com/v8/1428.
 | 
| -    static PassOwnPtr<WorkerBackingThread> createForTest(const char* name) { return adoptPtr(new WorkerBackingThread(name, true)); }
 | 
| -    static PassOwnPtr<WorkerBackingThread> createForTest(WebThread* thread) { return adoptPtr(new WorkerBackingThread(thread, true)); }
 | 
| +    static std::unique_ptr<WorkerBackingThread> createForTest(const char* name) { return wrapUnique(new WorkerBackingThread(name, true)); }
 | 
| +    static std::unique_ptr<WorkerBackingThread> createForTest(WebThread* thread) { return wrapUnique(new WorkerBackingThread(thread, true)); }
 | 
|  
 | 
|      ~WorkerBackingThread();
 | 
|  
 | 
| @@ -72,7 +72,7 @@ private:
 | 
|  
 | 
|      // Protects |m_workerScriptCount|.
 | 
|      Mutex m_mutex;
 | 
| -    OwnPtr<WebThreadSupportingGC> m_backingThread;
 | 
| +    std::unique_ptr<WebThreadSupportingGC> m_backingThread;
 | 
|      v8::Isolate* m_isolate = nullptr;
 | 
|      unsigned m_workerScriptCount = 0;
 | 
|      bool m_isOwningThread;
 | 
| 
 |