| Index: third_party/WebKit/Source/platform/fonts/SmallCapsIterator.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/SmallCapsIterator.cpp b/third_party/WebKit/Source/platform/fonts/SmallCapsIterator.cpp
|
| index 2e135877d89afe153033a107d9c62b1acd48d03c..88fd1e56a5ee14cfce190d1844d812931b3bf497 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/SmallCapsIterator.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/SmallCapsIterator.cpp
|
| @@ -4,12 +4,13 @@
|
|
|
| #include "SmallCapsIterator.h"
|
|
|
| +#include "wtf/PtrUtil.h"
|
| #include <unicode/utypes.h>
|
|
|
| namespace blink {
|
|
|
| SmallCapsIterator::SmallCapsIterator(const UChar* buffer, unsigned bufferSize)
|
| - : m_utf16Iterator(adoptPtr(new UTF16TextIterator(buffer, bufferSize)))
|
| + : m_utf16Iterator(wrapUnique(new UTF16TextIterator(buffer, bufferSize)))
|
| , m_bufferSize(bufferSize)
|
| , m_nextUChar32(0)
|
| , m_atEnd(bufferSize == 0)
|
|
|