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

Unified Diff: third_party/WebKit/Source/core/css/FontLoader.h

Issue 1667843003: Make Resource RefCountedWillBeGarbageCollectedFinalized, attempt #2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + address review comments Created 4 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFace.cpp ('k') | third_party/WebKit/Source/core/css/FontLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/FontLoader.h
diff --git a/third_party/WebKit/Source/core/css/FontLoader.h b/third_party/WebKit/Source/core/css/FontLoader.h
index a7e76342e925f878f587eee4bfc2732404102bd8..9221b4f5553f1e36139f69a70b73247960fd4f40 100644
--- a/third_party/WebKit/Source/core/css/FontLoader.h
+++ b/third_party/WebKit/Source/core/css/FontLoader.h
@@ -6,7 +6,6 @@
#define FontLoader_h
#include "core/fetch/ResourceLoader.h"
-#include "core/fetch/ResourcePtr.h"
#include "platform/Timer.h"
#include "platform/heap/Handle.h"
#include "wtf/Vector.h"
@@ -44,7 +43,7 @@ private:
Timer<FontLoader> m_beginLoadingTimer;
struct FontToLoad;
- using FontsToLoadVector = Vector<OwnPtr<FontToLoad>>;
+ using FontsToLoadVector = WillBeHeapVector<OwnPtrWillBeMember<FontToLoad>>;
FontsToLoadVector m_fontsToBeginLoading;
RawPtrWillBeMember<CSSFontSelector> m_fontSelector;
RawPtrWillBeWeakMember<Document> m_document;
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFace.cpp ('k') | third_party/WebKit/Source/core/css/FontLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698