From aca4fc767d663e43d323b96a75804a8f5cafd8d4 Mon Sep 17 00:00:00 2001 From: thestig Date: Wed, 28 Sep 2016 22:06:20 -0700 Subject: Replace a few more std::unique_ptr.reset() with WrapUnique assignments. And fix a typo. TBR=tsepez@chromium.org Review-Url: https://codereview.chromium.org/2382443004 --- core/fxge/ge/cfx_fontmgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fxge/ge/cfx_fontmgr.cpp') diff --git a/core/fxge/ge/cfx_fontmgr.cpp b/core/fxge/ge/cfx_fontmgr.cpp index ec1d81b237..a3cc796a6d 100644 --- a/core/fxge/ge/cfx_fontmgr.cpp +++ b/core/fxge/ge/cfx_fontmgr.cpp @@ -81,7 +81,7 @@ int GetTTCIndex(const uint8_t* pFontData, CFX_FontMgr::CFX_FontMgr() : m_FTLibrary(nullptr), m_FTLibrarySupportsHinting(false) { - m_pBuiltinMapper.reset(new CFX_FontMapper(this)); + m_pBuiltinMapper = WrapUnique(new CFX_FontMapper(this)); } CFX_FontMgr::~CFX_FontMgr() { -- cgit v1.2.3