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

Unified Diff: third_party/WebKit/Source/core/css/CSSFontFace.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, 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/CSSFontFace.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSFontFace.cpp b/third_party/WebKit/Source/core/css/CSSFontFace.cpp
index eb1cc2b5263b7a8b64bbb05d65ae496b04834e57..c19963788b84698594b11e0c44001a2d33203991 100644
--- a/third_party/WebKit/Source/core/css/CSSFontFace.cpp
+++ b/third_party/WebKit/Source/core/css/CSSFontFace.cpp
@@ -37,7 +37,7 @@
namespace blink {
-void CSSFontFace::addSource(PassOwnPtrWillBeRawPtr<CSSFontFaceSource> source)
+void CSSFontFace::addSource(RawPtr<CSSFontFaceSource> source)
{
source->setFontFace(this);
m_sources.append(source);
@@ -90,7 +90,7 @@ PassRefPtr<SimpleFontData> CSSFontFace::getFontData(const FontDescription& fontD
return nullptr;
while (!m_sources.isEmpty()) {
- OwnPtrWillBeMember<CSSFontFaceSource>& source = m_sources.first();
+ Member<CSSFontFaceSource>& source = m_sources.first();
if (RefPtr<SimpleFontData> result = source->getFontData(fontDescription)) {
if (loadStatus() == FontFace::Unloaded && (source->isLoading() || source->isLoaded()))
setLoadStatus(FontFace::Loading);
@@ -146,7 +146,7 @@ void CSSFontFace::load(const FontDescription& fontDescription)
ASSERT(loadStatus() == FontFace::Loading);
while (!m_sources.isEmpty()) {
- OwnPtrWillBeMember<CSSFontFaceSource>& source = m_sources.first();
+ Member<CSSFontFaceSource>& source = m_sources.first();
if (source->isValid()) {
if (source->isLocal()) {
if (source->isLocalFontAvailable(fontDescription)) {

Powered by Google App Engine
This is Rietveld 408576698