Index: third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.h |
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.h b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.h |
index 40f2936a3e220e55e683160921f3034fe6a528a3..2da39dccf43dcdfe0a36a932becb039175d9cafa 100644 |
--- a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.h |
+++ b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.h |
@@ -41,10 +41,12 @@ |
#include "wtf/Allocator.h" |
#include "wtf/Deque.h" |
#include "wtf/HashSet.h" |
+#include "wtf/OwnPtr.h" |
+#include "wtf/PassOwnPtr.h" |
#include "wtf/Vector.h" |
#include "wtf/text/CharacterNames.h" |
+ |
#include <hb.h> |
-#include <memory> |
#include <unicode/uscript.h> |
namespace blink { |
@@ -202,9 +204,9 @@ private: |
bool isLastResort); |
bool collectFallbackHintChars(Vector<UChar32>& hint, bool needsList); |
- void insertRunIntoShapeResult(ShapeResult*, std::unique_ptr<ShapeResult::RunInfo> runToInsert, unsigned startGlyph, unsigned numGlyphs, hb_buffer_t*); |
+ void insertRunIntoShapeResult(ShapeResult*, PassOwnPtr<ShapeResult::RunInfo> runToInsert, unsigned startGlyph, unsigned numGlyphs, hb_buffer_t*); |
- std::unique_ptr<UChar[]> m_normalizedBuffer; |
+ OwnPtr<UChar[]> m_normalizedBuffer; |
unsigned m_normalizedBufferLength; |
FeaturesVector m_features; |