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

Unified Diff: third_party/WebKit/Source/core/css/CSSCrossfadeValue.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/CSSCrossfadeValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
index bf557f58446208dc76990cdeb12fb39f1e6bedd6..0dc1b250af58f45ade02c62684f3ff7e43dad05d 100644
--- a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
@@ -102,7 +102,7 @@ static KURL urlForCSSValue(const CSSValue* value)
return KURL(ParsedURLString, toCSSImageValue(*value).url());
}
-CSSCrossfadeValue::CSSCrossfadeValue(PassRefPtrWillBeRawPtr<CSSValue> fromValue, PassRefPtrWillBeRawPtr<CSSValue> toValue, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> percentageValue)
+CSSCrossfadeValue::CSSCrossfadeValue(RawPtr<CSSValue> fromValue, RawPtr<CSSValue> toValue, RawPtr<CSSPrimitiveValue> percentageValue)
: CSSImageGeneratorValue(CrossfadeClass)
, m_fromValue(fromValue)
, m_toValue(toValue)
@@ -148,12 +148,12 @@ String CSSCrossfadeValue::customCSSText() const
return result.toString();
}
-PassRefPtrWillBeRawPtr<CSSCrossfadeValue> CSSCrossfadeValue::valueWithURLsMadeAbsolute()
+RawPtr<CSSCrossfadeValue> CSSCrossfadeValue::valueWithURLsMadeAbsolute()
{
- RefPtrWillBeRawPtr<CSSValue> fromValue = m_fromValue;
+ RawPtr<CSSValue> fromValue = m_fromValue;
if (m_fromValue->isImageValue())
fromValue = toCSSImageValue(*m_fromValue).valueWithURLMadeAbsolute();
- RefPtrWillBeRawPtr<CSSValue> toValue = m_toValue;
+ RawPtr<CSSValue> toValue = m_toValue;
if (m_toValue->isImageValue())
toValue = toCSSImageValue(*m_toValue).valueWithURLMadeAbsolute();
return CSSCrossfadeValue::create(fromValue.release(), toValue.release(), m_percentageValue);
@@ -200,8 +200,8 @@ bool CSSCrossfadeValue::knownToBeOpaque(const LayoutObject& layoutObject) const
void CSSCrossfadeValue::loadSubimages(Document* document)
{
- RefPtrWillBeRawPtr<ImageResource> oldCachedFromImage = m_cachedFromImage;
- RefPtrWillBeRawPtr<ImageResource> oldCachedToImage = m_cachedToImage;
+ RawPtr<ImageResource> oldCachedFromImage = m_cachedFromImage;
+ RawPtr<ImageResource> oldCachedToImage = m_cachedToImage;
m_cachedFromImage = cachedImageForCSSValue(m_fromValue.get(), document);
m_cachedToImage = cachedImageForCSSValue(m_toValue.get(), document);
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSCrossfadeValue.h ('k') | third_party/WebKit/Source/core/css/CSSCursorImageValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698