| Index: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
|
| index 0648e0fa870ad91310f6fddc61b1b60f37ceb925..b049b8b2e8b8146bc4848ccae17c81678fd50a84 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
|
| @@ -1142,7 +1142,7 @@ void HTMLDocumentParser::appendBytes(const char* data, size_t length) {
|
| if (!m_haveBackgroundParser)
|
| startBackgroundParser();
|
|
|
| - std::unique_ptr<Vector<char>> buffer = wrapUnique(new Vector<char>(length));
|
| + std::unique_ptr<Vector<char>> buffer = makeUnique<Vector<char>>(length);
|
| memcpy(buffer->data(), data, length);
|
| TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("blink.debug"),
|
| "HTMLDocumentParser::appendBytes", "size", (unsigned)length);
|
|
|