| Index: third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.h
|
| diff --git a/third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.h b/third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.h
|
| index 3c9c9a7cbc560e5c1165dfd469361766485b54aa..d65f2924be772dd3135915f50aa2c45a794ba5a6 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.h
|
| +++ b/third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.h
|
| @@ -7,12 +7,11 @@
|
|
|
| #include "core/html/parser/HTMLDocumentParser.h"
|
| #include "wtf/Deque.h"
|
| -#include "wtf/OwnPtr.h"
|
| -#include "wtf/PassOwnPtr.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/ThreadSafeRefCounted.h"
|
| #include "wtf/ThreadingPrimitives.h"
|
| #include "wtf/Vector.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -33,16 +32,16 @@ public:
|
|
|
| ~ParsedChunkQueue();
|
|
|
| - bool enqueue(PassOwnPtr<HTMLDocumentParser::ParsedChunk>);
|
| + bool enqueue(std::unique_ptr<HTMLDocumentParser::ParsedChunk>);
|
| void clear();
|
|
|
| - void takeAll(Vector<OwnPtr<HTMLDocumentParser::ParsedChunk>>&);
|
| + void takeAll(Vector<std::unique_ptr<HTMLDocumentParser::ParsedChunk>>&);
|
|
|
| private:
|
| ParsedChunkQueue();
|
|
|
| Mutex m_mutex;
|
| - Vector<OwnPtr<HTMLDocumentParser::ParsedChunk>> m_pendingChunks;
|
| + Vector<std::unique_ptr<HTMLDocumentParser::ParsedChunk>> m_pendingChunks;
|
| };
|
|
|
| } // namespace blink
|
|
|