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

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, 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/CSSFontFace.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSFontFace.cpp b/third_party/WebKit/Source/core/css/CSSFontFace.cpp
index 6faf1fd1a74b1f341785338b47552f416c3af8e8..402d8dd2f47c63a006e214409d3935d7004a9a56 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)) {
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSFontFace.h ('k') | third_party/WebKit/Source/core/css/CSSFontFaceRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698