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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/Filter.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/platform/graphics/filters/Filter.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/Filter.h b/third_party/WebKit/Source/platform/graphics/filters/Filter.h
index 530b070f7fd5f708a551cf0e0a4a86bdbc60c525..160197b54489ca75deee7ea55f1a4fe979b9be3b 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/Filter.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/Filter.h
@@ -34,7 +34,7 @@ namespace blink {
class SourceGraphic;
class FilterEffect;
-class PLATFORM_EXPORT Filter final : public RefCountedWillBeGarbageCollectedFinalized<Filter> {
+class PLATFORM_EXPORT Filter final : public GarbageCollectedFinalized<Filter> {
WTF_MAKE_NONCOPYABLE(Filter);
public:
enum UnitScaling {
@@ -42,8 +42,8 @@ public:
BoundingBox
};
- static PassRefPtrWillBeRawPtr<Filter> create(const FloatRect& referenceBox, const FloatRect& filterRegion, float scale, UnitScaling);
- static PassRefPtrWillBeRawPtr<Filter> create(float scale);
+ static RawPtr<Filter> create(const FloatRect& referenceBox, const FloatRect& filterRegion, float scale, UnitScaling);
+ static RawPtr<Filter> create(float scale);
~Filter();
DECLARE_TRACE();
@@ -62,7 +62,7 @@ public:
const FloatRect& filterRegion() const { return m_filterRegion; }
const FloatRect& referenceBox() const { return m_referenceBox; }
- void setLastEffect(PassRefPtrWillBeRawPtr<FilterEffect>);
+ void setLastEffect(RawPtr<FilterEffect>);
FilterEffect* lastEffect() const { return m_lastEffect.get(); }
SourceGraphic* getSourceGraphic() const { return m_sourceGraphic.get(); }
@@ -75,8 +75,8 @@ private:
float m_scale;
UnitScaling m_unitScaling;
- RefPtrWillBeMember<SourceGraphic> m_sourceGraphic;
- RefPtrWillBeMember<FilterEffect> m_lastEffect;
+ Member<SourceGraphic> m_sourceGraphic;
+ Member<FilterEffect> m_lastEffect;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698