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

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

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/CSSSegmentedFontFace.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp b/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
index 3efce5a35606776747076bb466824fdf9255b439..d3bde98dcf491bfa02dd3c22ad8e7fbcf18c350c 100644
--- a/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
+++ b/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
@@ -76,9 +76,9 @@ void CSSSegmentedFontFace::fontFaceInvalidated()
pruneTable();
}
-void CSSSegmentedFontFace::addFontFace(PassRefPtrWillBeRawPtr<FontFace> prpFontFace, bool cssConnected)
+void CSSSegmentedFontFace::addFontFace(RawPtr<FontFace> prpFontFace, bool cssConnected)
{
- RefPtrWillBeRawPtr<FontFace> fontFace = prpFontFace;
+ RawPtr<FontFace> fontFace = prpFontFace;
pruneTable();
fontFace->cssFontFace()->setSegmentedFontFace(this);
if (cssConnected) {
@@ -91,9 +91,9 @@ void CSSSegmentedFontFace::addFontFace(PassRefPtrWillBeRawPtr<FontFace> prpFontF
}
}
-void CSSSegmentedFontFace::removeFontFace(PassRefPtrWillBeRawPtr<FontFace> prpFontFace)
+void CSSSegmentedFontFace::removeFontFace(RawPtr<FontFace> prpFontFace)
{
- RefPtrWillBeRawPtr<FontFace> fontFace = prpFontFace;
+ RawPtr<FontFace> fontFace = prpFontFace;
FontFaceList::iterator it = m_fontFaces.find(fontFace);
if (it == m_fontFaces.end())
return;
@@ -171,7 +171,7 @@ bool CSSSegmentedFontFace::checkFont(const String& text) const
return true;
}
-void CSSSegmentedFontFace::match(const String& text, WillBeHeapVector<RefPtrWillBeMember<FontFace>>& faces) const
+void CSSSegmentedFontFace::match(const String& text, HeapVector<Member<FontFace>>& faces) const
{
for (const auto& fontFace : m_fontFaces) {
if (fontFace->cssFontFace()->ranges()->intersectsWith(text))
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h ('k') | third_party/WebKit/Source/core/css/CSSShadowValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698