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

Unified Diff: third_party/WebKit/Source/core/css/CSSSegmentedFontFace.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, 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
Index: third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h
diff --git a/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h b/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h
index dba289f2bb820376975ce805c44da4981ea44188..112e59d789747e21a689310dbc9504c4bb548878 100644
--- a/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h
+++ b/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h
@@ -45,11 +45,11 @@ class FontDescription;
class FontFace;
class SegmentedFontData;
-class CSSSegmentedFontFace final : public RefCountedWillBeGarbageCollectedFinalized<CSSSegmentedFontFace> {
+class CSSSegmentedFontFace final : public GarbageCollectedFinalized<CSSSegmentedFontFace> {
public:
- static PassRefPtrWillBeRawPtr<CSSSegmentedFontFace> create(CSSFontSelector* selector, FontTraits traits)
+ static RawPtr<CSSSegmentedFontFace> create(CSSFontSelector* selector, FontTraits traits)
{
- return adoptRefWillBeNoop(new CSSSegmentedFontFace(selector, traits));
+ return (new CSSSegmentedFontFace(selector, traits));
}
~CSSSegmentedFontFace();
@@ -60,14 +60,14 @@ public:
// so cached FontData must be discarded.
void fontFaceInvalidated();
- void addFontFace(PassRefPtrWillBeRawPtr<FontFace>, bool cssConnected);
- void removeFontFace(PassRefPtrWillBeRawPtr<FontFace>);
+ void addFontFace(RawPtr<FontFace>, bool cssConnected);
+ void removeFontFace(RawPtr<FontFace>);
bool isEmpty() const { return m_fontFaces.isEmpty(); }
PassRefPtr<FontData> getFontData(const FontDescription&);
bool checkFont(const String&) const;
- void match(const String&, WillBeHeapVector<RefPtrWillBeMember<FontFace>>&) const;
+ void match(const String&, HeapVector<Member<FontFace>>&) const;
void willUseFontData(const FontDescription&, UChar32);
void willUseRange(const FontDescription&, const FontDataRange&);
@@ -79,9 +79,9 @@ private:
void pruneTable();
bool isValid() const;
- using FontFaceList = WillBeHeapListHashSet<RefPtrWillBeMember<FontFace>>;
+ using FontFaceList = HeapListHashSet<Member<FontFace>>;
- RawPtrWillBeMember<CSSFontSelector> m_fontSelector;
+ Member<CSSFontSelector> m_fontSelector;
FontTraits m_traits;
HashMap<unsigned, RefPtr<SegmentedFontData>> m_fontDataTable;
// All non-CSS-connected FontFaces are stored after the CSS-connected ones.

Powered by Google App Engine
This is Rietveld 408576698