| Index: third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.h b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.h
|
| index bf02e5b7c3832792f2177f1d48a074a9e752983a..ac2e4e1692dd61a8ba021e383bd97e0b5db4873b 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.h
|
| @@ -9,7 +9,7 @@
|
| #include "platform/heap/Handle.h"
|
| #include "wtf/Noncopyable.h"
|
| #include "wtf/text/WTFString.h"
|
| -
|
| +#include <memory>
|
| #include <v8.h>
|
|
|
| namespace blink {
|
| @@ -120,7 +120,7 @@ private:
|
| bool m_detached;
|
|
|
| SourceStream* m_stream;
|
| - OwnPtr<v8::ScriptCompiler::StreamedSource> m_source;
|
| + std::unique_ptr<v8::ScriptCompiler::StreamedSource> m_source;
|
| bool m_loadingFinished; // Whether loading from the network is done.
|
| // Whether the V8 side processing is done. Will be used by the main thread
|
| // and the streamer thread; guarded by m_mutex.
|
| @@ -151,7 +151,7 @@ private:
|
| // Encoding of the streamed script. Saved for sanity checking purposes.
|
| v8::ScriptCompiler::StreamedSource::Encoding m_encoding;
|
|
|
| - OwnPtr<WebTaskRunner> m_loadingTaskRunner;
|
| + std::unique_ptr<WebTaskRunner> m_loadingTaskRunner;
|
| };
|
|
|
| } // namespace blink
|
|
|