Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1140)

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.h
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.h b/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.h
index e347f29527778ccc5ff2b3e4ef2884cc4e54f39d..8a77f9f7100afa0a890131584ec986442094bfbc 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.h
+++ b/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.h
@@ -14,7 +14,7 @@
#include "platform/fonts/UTF16TextIterator.h"
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
-#include <memory>
+
#include <unicode/uscript.h>
namespace blink {
@@ -49,9 +49,9 @@ private:
unsigned m_bufferSize;
RunSegmenterRange m_candidateRange;
- std::unique_ptr<ScriptRunIterator> m_scriptRunIterator;
- std::unique_ptr<OrientationIterator> m_orientationIterator;
- std::unique_ptr<SymbolsIterator> m_symbolsIterator;
+ OwnPtr<ScriptRunIterator> m_scriptRunIterator;
+ OwnPtr<OrientationIterator> m_orientationIterator;
+ OwnPtr<SymbolsIterator> m_symbolsIterator;
unsigned m_lastSplit;
unsigned m_scriptRunIteratorPosition;
unsigned m_orientationIteratorPosition;

Powered by Google App Engine
This is Rietveld 408576698