| Index: third_party/WebKit/Source/platform/fonts/OrientationIterator.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/OrientationIterator.cpp b/third_party/WebKit/Source/platform/fonts/OrientationIterator.cpp
|
| index fe032209fc666ddd5986d5e7e7e086265764eeb9..2f40b001192b27244405eee051a63edbf9df9314 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/OrientationIterator.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/OrientationIterator.cpp
|
| @@ -4,10 +4,12 @@
|
|
|
| #include "OrientationIterator.h"
|
|
|
| +#include "wtf/PtrUtil.h"
|
| +
|
| namespace blink {
|
|
|
| OrientationIterator::OrientationIterator(const UChar* buffer, unsigned bufferSize, FontOrientation runOrientation)
|
| - : m_utf16Iterator(adoptPtr(new UTF16TextIterator(buffer, bufferSize)))
|
| + : m_utf16Iterator(wrapUnique(new UTF16TextIterator(buffer, bufferSize)))
|
| , m_bufferSize(bufferSize)
|
| , m_atEnd(bufferSize == 0)
|
| {
|
|
|