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

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, 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/CSSCrossfadeValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
index f85265358a5405f7a6885c2e1d332eba7dbabdf5..1ea464e753ec701164b9f5627b496aa4d0d9e2bd 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);
@@ -194,8 +194,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);

Powered by Google App Engine
This is Rietveld 408576698