| 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
|
| deleted file mode 100644
|
| index 8ca8d1543a1f05ffde6e44c805761af9fbc19289..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.cpp
|
| +++ /dev/null
|
| @@ -1,38 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "config.h"
|
| -#include "core/html/parser/ParsedChunkQueue.h"
|
| -
|
| -namespace blink {
|
| -
|
| -ParsedChunkQueue::ParsedChunkQueue()
|
| -{
|
| -}
|
| -
|
| -bool ParsedChunkQueue::enqueue(PassOwnPtr<HTMLDocumentParser::ParsedChunk> chunk)
|
| -{
|
| - MutexLocker locker(m_mutex);
|
| -
|
| - bool wasEmpty = m_pendingChunks.isEmpty();
|
| - m_pendingChunks.append(chunk);
|
| - return wasEmpty;
|
| -}
|
| -
|
| -void ParsedChunkQueue::clear()
|
| -{
|
| - MutexLocker locker(m_mutex);
|
| -
|
| - m_pendingChunks.clear();
|
| -}
|
| -
|
| -void ParsedChunkQueue::takeAll(Vector<OwnPtr<HTMLDocumentParser::ParsedChunk>>& vector)
|
| -{
|
| - MutexLocker locker(m_mutex);
|
| -
|
| - ASSERT(vector.isEmpty());
|
| - m_pendingChunks.swap(vector);
|
| -}
|
| -
|
| -} // namespace blink
|
|
|