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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/css/FontLoader.h
diff --git a/third_party/WebKit/Source/core/css/FontLoader.h b/third_party/WebKit/Source/core/css/FontLoader.h
index 9221b4f5553f1e36139f69a70b73247960fd4f40..181630a845c11a4cee5332284553d4c2cdf8294e 100644
--- a/third_party/WebKit/Source/core/css/FontLoader.h
+++ b/third_party/WebKit/Source/core/css/FontLoader.h
@@ -16,11 +16,11 @@ class CSSFontSelector;
class Document;
class FontResource;
-class FontLoader : public RefCountedWillBeGarbageCollectedFinalized<FontLoader> {
+class FontLoader : public GarbageCollectedFinalized<FontLoader> {
public:
- static PassRefPtrWillBeRawPtr<FontLoader> create(CSSFontSelector* fontSelector, Document* document)
+ static RawPtr<FontLoader> create(CSSFontSelector* fontSelector, Document* document)
{
- return adoptRefWillBeNoop(new FontLoader(fontSelector, document));
+ return new FontLoader(fontSelector, document);
}
~FontLoader();
@@ -43,10 +43,10 @@ private:
Timer<FontLoader> m_beginLoadingTimer;
struct FontToLoad;
- using FontsToLoadVector = WillBeHeapVector<OwnPtrWillBeMember<FontToLoad>>;
+ using FontsToLoadVector = HeapVector<Member<FontToLoad>>;
FontsToLoadVector m_fontsToBeginLoading;
- RawPtrWillBeMember<CSSFontSelector> m_fontSelector;
- RawPtrWillBeWeakMember<Document> m_document;
+ Member<CSSFontSelector> m_fontSelector;
+ WeakMember<Document> m_document;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFaceSetLoadEvent.h ('k') | third_party/WebKit/Source/core/css/FontLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698