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

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

Issue 1858753003: Remove RawPtr from core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 8c9cd9b864da4019e1ba38e9c4020e464b359373..b2346f252a1dbef4246abe4c5ab62efbf060c565 100644
--- a/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h
+++ b/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h
@@ -47,7 +47,7 @@ class SegmentedFontData;
class CSSSegmentedFontFace final : public GarbageCollectedFinalized<CSSSegmentedFontFace> {
public:
- static RawPtr<CSSSegmentedFontFace> create(CSSFontSelector* selector, FontTraits traits)
+ static CSSSegmentedFontFace* create(CSSFontSelector* selector, FontTraits traits)
{
return new CSSSegmentedFontFace(selector, traits);
}
@@ -60,8 +60,8 @@ public:
// so cached FontData must be discarded.
void fontFaceInvalidated();
- void addFontFace(RawPtr<FontFace>, bool cssConnected);
- void removeFontFace(RawPtr<FontFace>);
+ void addFontFace(FontFace*, bool cssConnected);
+ void removeFontFace(FontFace*);
bool isEmpty() const { return m_fontFaces.isEmpty(); }
PassRefPtr<FontData> getFontData(const FontDescription&);
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSSVGDocumentValue.h ('k') | third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698