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

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, 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/CSSFontSelector.h
diff --git a/third_party/WebKit/Source/core/css/CSSFontSelector.h b/third_party/WebKit/Source/core/css/CSSFontSelector.h
index 591e1307f172d09265125146533e5ba59dc71cc8..c62fd089161a1a0d0f2101a32c0d3e4721fd20f1 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;
};
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSFontFeatureValue.h ('k') | third_party/WebKit/Source/core/css/CSSFontSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698