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

Unified Diff: third_party/WebKit/Source/core/css/CSSCrossfadeValue.h

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.h
diff --git a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.h b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.h
index 9839551a53dafc0a3f16d1203003bdbd08c1d0dd..74026c89167517b8344c678d5d9bea7647799ce7 100644
--- a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.h
+++ b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.h
@@ -41,11 +41,11 @@ class LayoutObject;
class CORE_EXPORT CSSCrossfadeValue final : public CSSImageGeneratorValue {
friend class CrossfadeSubimageObserverProxy;
- WILL_BE_USING_PRE_FINALIZER(CSSCrossfadeValue, dispose);
+ USING_PRE_FINALIZER(CSSCrossfadeValue, dispose);
public:
- static PassRefPtrWillBeRawPtr<CSSCrossfadeValue> create(PassRefPtrWillBeRawPtr<CSSValue> fromValue, PassRefPtrWillBeRawPtr<CSSValue> toValue, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> percentageValue)
+ static RawPtr<CSSCrossfadeValue> create(RawPtr<CSSValue> fromValue, RawPtr<CSSValue> toValue, RawPtr<CSSPrimitiveValue> percentageValue)
{
- return adoptRefWillBeNoop(new CSSCrossfadeValue(fromValue, toValue, percentageValue));
+ return new CSSCrossfadeValue(fromValue, toValue, percentageValue);
}
~CSSCrossfadeValue();
@@ -65,12 +65,12 @@ public:
bool equals(const CSSCrossfadeValue&) const;
- PassRefPtrWillBeRawPtr<CSSCrossfadeValue> valueWithURLsMadeAbsolute();
+ RawPtr<CSSCrossfadeValue> valueWithURLsMadeAbsolute();
DECLARE_TRACE_AFTER_DISPATCH();
private:
- CSSCrossfadeValue(PassRefPtrWillBeRawPtr<CSSValue> fromValue, PassRefPtrWillBeRawPtr<CSSValue> toValue, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> percentageValue);
+ CSSCrossfadeValue(RawPtr<CSSValue> fromValue, RawPtr<CSSValue> toValue, RawPtr<CSSPrimitiveValue> percentageValue);
void dispose();
@@ -91,18 +91,18 @@ private:
String debugName() const override { return "CrossfadeSubimageObserverProxy"; }
void setReady(bool ready) { m_ready = ready; }
private:
- RawPtrWillBeMember<CSSCrossfadeValue> m_ownerValue;
+ Member<CSSCrossfadeValue> m_ownerValue;
bool m_ready;
};
void crossfadeChanged(const IntRect&);
- RefPtrWillBeMember<CSSValue> m_fromValue;
- RefPtrWillBeMember<CSSValue> m_toValue;
- RefPtrWillBeMember<CSSPrimitiveValue> m_percentageValue;
+ Member<CSSValue> m_fromValue;
+ Member<CSSValue> m_toValue;
+ Member<CSSPrimitiveValue> m_percentageValue;
- RefPtrWillBeMember<ImageResource> m_cachedFromImage;
- RefPtrWillBeMember<ImageResource> m_cachedToImage;
+ Member<ImageResource> m_cachedFromImage;
+ Member<ImageResource> m_cachedToImage;
CrossfadeSubimageObserverProxy m_crossfadeSubimageObserver;
};
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSCounterValue.h ('k') | third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698