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

Unified Diff: third_party/WebKit/Source/wtf/WTFThreadData.cpp

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/wtf/WTFThreadData.cpp
diff --git a/third_party/WebKit/Source/wtf/WTFThreadData.cpp b/third_party/WebKit/Source/wtf/WTFThreadData.cpp
index 286c1182f20d345f9d6f4d638acaaff71c97e459..4fe603433c06e630906179ef856dcaaad0738341 100644
--- a/third_party/WebKit/Source/wtf/WTFThreadData.cpp
+++ b/third_party/WebKit/Source/wtf/WTFThreadData.cpp
@@ -26,6 +26,7 @@
#include "wtf/WTFThreadData.h"
+#include "wtf/PtrUtil.h"
#include "wtf/text/TextCodecICU.h"
namespace WTF {
@@ -37,7 +38,7 @@ WTFThreadData::WTFThreadData()
, m_atomicStringTableDestructor(nullptr)
, m_compressibleStringTable(nullptr)
, m_compressibleStringTableDestructor(nullptr)
- , m_cachedConverterICU(adoptPtr(new ICUConverterWrapper))
+ , m_cachedConverterICU(wrapUnique(new ICUConverterWrapper))
{
}
« no previous file with comments | « third_party/WebKit/Source/wtf/WTFThreadData.h ('k') | third_party/WebKit/Source/wtf/allocator/PartitionAllocTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698