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

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

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/SmallCapsIterator.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/SmallCapsIterator.cpp b/third_party/WebKit/Source/platform/fonts/SmallCapsIterator.cpp
index 88fd1e56a5ee14cfce190d1844d812931b3bf497..2e135877d89afe153033a107d9c62b1acd48d03c 100644
--- a/third_party/WebKit/Source/platform/fonts/SmallCapsIterator.cpp
+++ b/third_party/WebKit/Source/platform/fonts/SmallCapsIterator.cpp
@@ -4,13 +4,12 @@
#include "SmallCapsIterator.h"
-#include "wtf/PtrUtil.h"
#include <unicode/utypes.h>
namespace blink {
SmallCapsIterator::SmallCapsIterator(const UChar* buffer, unsigned bufferSize)
- : m_utf16Iterator(wrapUnique(new UTF16TextIterator(buffer, bufferSize)))
+ : m_utf16Iterator(adoptPtr(new UTF16TextIterator(buffer, bufferSize)))
, m_bufferSize(bufferSize)
, m_nextUChar32(0)
, m_atEnd(bufferSize == 0)

Powered by Google App Engine
This is Rietveld 408576698