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

Unified Diff: third_party/WebKit/Source/platform/fonts/SmallCapsIterator.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. 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/SmallCapsIterator.h
diff --git a/third_party/WebKit/Source/platform/fonts/SmallCapsIterator.h b/third_party/WebKit/Source/platform/fonts/SmallCapsIterator.h
index b689d3a018afa597f2dbb3fa35d6d37cbc3dc579..c262719f4259ee1fa23d40d334c7a1b47abd38de 100644
--- a/third_party/WebKit/Source/platform/fonts/SmallCapsIterator.h
+++ b/third_party/WebKit/Source/platform/fonts/SmallCapsIterator.h
@@ -10,6 +10,7 @@
#include "platform/fonts/UTF16TextIterator.h"
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
+#include <memory>
namespace blink {
@@ -27,7 +28,7 @@ public:
bool consume(unsigned* capsLimit, SmallCapsBehavior*);
private:
- OwnPtr<UTF16TextIterator> m_utf16Iterator;
+ std::unique_ptr<UTF16TextIterator> m_utf16Iterator;
unsigned m_bufferSize;
UChar32 m_nextUChar32;
bool m_atEnd;

Powered by Google App Engine
This is Rietveld 408576698