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 d65f2924be772dd3135915f50aa2c45a794ba5a6..3c9c9a7cbc560e5c1165dfd469361766485b54aa 100644 |
--- a/third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.h |
+++ b/third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.h |
@@ -7,11 +7,12 @@ |
#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 { |
@@ -32,16 +33,16 @@ public: |
~ParsedChunkQueue(); |
- bool enqueue(std::unique_ptr<HTMLDocumentParser::ParsedChunk>); |
+ bool enqueue(PassOwnPtr<HTMLDocumentParser::ParsedChunk>); |
void clear(); |
- void takeAll(Vector<std::unique_ptr<HTMLDocumentParser::ParsedChunk>>&); |
+ void takeAll(Vector<OwnPtr<HTMLDocumentParser::ParsedChunk>>&); |
private: |
ParsedChunkQueue(); |
Mutex m_mutex; |
- Vector<std::unique_ptr<HTMLDocumentParser::ParsedChunk>> m_pendingChunks; |
+ Vector<OwnPtr<HTMLDocumentParser::ParsedChunk>> m_pendingChunks; |
}; |
} // namespace blink |