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

Unified Diff: third_party/WebKit/Source/core/css/CSSFontSelector.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/CSSFontSelector.h
diff --git a/third_party/WebKit/Source/core/css/CSSFontSelector.h b/third_party/WebKit/Source/core/css/CSSFontSelector.h
index ce8985f56ee22f12fe35591ca3fc76552f6cd283..dff241eed760347f9e27cff0910d1f6707b817a7 100644
--- a/third_party/WebKit/Source/core/css/CSSFontSelector.h
+++ b/third_party/WebKit/Source/core/css/CSSFontSelector.h
@@ -44,9 +44,9 @@ class FontDescription;
class CORE_EXPORT CSSFontSelector : public FontSelector {
public:
- static PassRefPtrWillBeRawPtr<CSSFontSelector> create(Document* document)
+ static RawPtr<CSSFontSelector> create(Document* document)
{
- return adoptRefWillBeNoop(new CSSFontSelector(document));
+ return (new CSSFontSelector(document));
}
~CSSFontSelector() override;
@@ -89,12 +89,12 @@ private:
// FIXME: Oilpan: Ideally this should just be a traced Member but that will
// currently leak because ComputedStyle and its data are not on the heap.
// See crbug.com/383860 for details.
- RawPtrWillBeWeakMember<Document> m_document;
+ WeakMember<Document> m_document;
// FIXME: Move to Document or StyleEngine.
FontFaceCache m_fontFaceCache;
- WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSFontSelectorClient>> m_clients;
+ HeapHashSet<WeakMember<CSSFontSelectorClient>> m_clients;
- RefPtrWillBeMember<FontLoader> m_fontLoader;
+ Member<FontLoader> m_fontLoader;
GenericFontFamilySettings m_genericFontFamilySettings;
};

Powered by Google App Engine
This is Rietveld 408576698