| Index: third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.cpp b/third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.cpp
|
| index 263c9a9719085e123cb4b284932ce9686b1625fa..913e2b040a9882cd9d7da47efaa91522a8e13cb4 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.cpp
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "core/html/parser/ParsedChunkQueue.h"
|
|
|
| +#include <memory>
|
| +
|
| namespace blink {
|
|
|
| ParsedChunkQueue::ParsedChunkQueue()
|
| @@ -14,7 +16,7 @@ ParsedChunkQueue::~ParsedChunkQueue()
|
| {
|
| }
|
|
|
| -bool ParsedChunkQueue::enqueue(PassOwnPtr<HTMLDocumentParser::ParsedChunk> chunk)
|
| +bool ParsedChunkQueue::enqueue(std::unique_ptr<HTMLDocumentParser::ParsedChunk> chunk)
|
| {
|
| MutexLocker locker(m_mutex);
|
|
|
| @@ -30,7 +32,7 @@ void ParsedChunkQueue::clear()
|
| m_pendingChunks.clear();
|
| }
|
|
|
| -void ParsedChunkQueue::takeAll(Vector<OwnPtr<HTMLDocumentParser::ParsedChunk>>& vector)
|
| +void ParsedChunkQueue::takeAll(Vector<std::unique_ptr<HTMLDocumentParser::ParsedChunk>>& vector)
|
| {
|
| MutexLocker locker(m_mutex);
|
|
|
|
|