| Index: third_party/WebKit/Source/platform/fonts/SymbolsIterator.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/SymbolsIterator.cpp b/third_party/WebKit/Source/platform/fonts/SymbolsIterator.cpp
|
| index 44dccebfc1c9c0a5368d3f34e895abc370cb85a4..fa78012589c93dfb5fafb5968315b5b153f16c99 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/SymbolsIterator.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/SymbolsIterator.cpp
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "SymbolsIterator.h"
|
|
|
| +#include "wtf/PtrUtil.h"
|
| #include <unicode/uchar.h>
|
| #include <unicode/uniset.h>
|
|
|
| @@ -12,7 +13,7 @@ namespace blink {
|
| using namespace WTF::Unicode;
|
|
|
| SymbolsIterator::SymbolsIterator(const UChar* buffer, unsigned bufferSize)
|
| - : m_utf16Iterator(adoptPtr(new UTF16TextIterator(buffer, bufferSize)))
|
| + : m_utf16Iterator(wrapUnique(new UTF16TextIterator(buffer, bufferSize)))
|
| , m_bufferSize(bufferSize)
|
| , m_nextChar(0)
|
| , m_atEnd(bufferSize == 0)
|
|
|