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

Unified Diff: third_party/WebKit/Source/platform/fonts/OrientationIterator.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/OrientationIterator.h
diff --git a/third_party/WebKit/Source/platform/fonts/OrientationIterator.h b/third_party/WebKit/Source/platform/fonts/OrientationIterator.h
index 30ec83b4115ddb1ca157fefb57ce917ca1d95b1f..a67650a85f920734e5889b944d521f31e487995d 100644
--- a/third_party/WebKit/Source/platform/fonts/OrientationIterator.h
+++ b/third_party/WebKit/Source/platform/fonts/OrientationIterator.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* orientationLimit, RenderOrientation*);
private:
- OwnPtr<UTF16TextIterator> m_utf16Iterator;
+ std::unique_ptr<UTF16TextIterator> m_utf16Iterator;
unsigned m_bufferSize;
bool m_atEnd;
};

Powered by Google App Engine
This is Rietveld 408576698