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

Unified Diff: third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.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/svg/properties/SVGPropertyTearOff.h
diff --git a/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h b/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h
index e709281e4d191cece91ff21a7475fb6b11905765..ef2d5adac693825f657fb8f851e95ec0b95d6759 100644
--- a/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h
+++ b/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h
@@ -44,7 +44,7 @@ enum PropertyIsAnimValType {
PropertyIsAnimVal
};
-class SVGPropertyTearOffBase : public RefCountedWillBeGarbageCollectedFinalized<SVGPropertyTearOffBase> {
+class SVGPropertyTearOffBase : public GarbageCollectedFinalized<SVGPropertyTearOffBase> {
public:
virtual ~SVGPropertyTearOffBase() { }
@@ -113,7 +113,7 @@ private:
// This raw pointer is safe since the SVG element is guaranteed to be kept
// alive by a V8 wrapper.
// See http://crbug.com/528275 for the detail.
- RawPtrWillBeUntracedMember<SVGElement> m_contextElement;
+ UntracedMember<SVGElement> m_contextElement;
PropertyIsAnimValType m_propertyIsAnimVal;
bool m_isReadOnlyProperty;
@@ -131,7 +131,7 @@ public:
return m_target.get();
}
- void setTarget(PassRefPtrWillBeRawPtr<Property> target)
+ void setTarget(RawPtr<Property> target)
{
m_target = target;
}
@@ -148,7 +148,7 @@ public:
}
protected:
- SVGPropertyTearOff(PassRefPtrWillBeRawPtr<Property> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
+ SVGPropertyTearOff(RawPtr<Property> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
: SVGPropertyTearOffBase(contextElement, propertyIsAnimVal, attributeName)
, m_target(target)
{
@@ -156,7 +156,7 @@ protected:
}
private:
- RefPtrWillBeMember<Property> m_target;
+ Member<Property> m_target;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698