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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasFontCache.h

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/core/html/canvas/CanvasFontCache.h
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.h b/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.h
index f17c62041fc5d78f3d59c11d19b132eb924fbc0d..47fc9125db13da83a8816c4a78d9a5a90c413079 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.h
@@ -13,7 +13,6 @@
#include "wtf/HashMap.h"
#include "wtf/ListHashSet.h"
#include "wtf/text/WTFString.h"
-#include <memory>
namespace blink {
@@ -56,7 +55,7 @@ private:
HashMap<String, Font> m_fontsResolvedUsingDefaultStyle;
MutableStylePropertyMap m_fetchedFonts;
ListHashSet<String> m_fontLRUList;
- std::unique_ptr<FontCachePurgePreventer> m_mainCachePurgePreventer;
+ OwnPtr<FontCachePurgePreventer> m_mainCachePurgePreventer;
Member<Document> m_document;
RefPtr<ComputedStyle> m_defaultFontStyle;
bool m_pruningScheduled;

Powered by Google App Engine
This is Rietveld 408576698