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

Unified Diff: third_party/WebKit/Source/core/svg/SVGViewSpec.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/SVGViewSpec.h
diff --git a/third_party/WebKit/Source/core/svg/SVGViewSpec.h b/third_party/WebKit/Source/core/svg/SVGViewSpec.h
index 59e022397c95df358f208e1aa204e1c64a04bc2f..2aada5dea35c8e7a8e1eae9b09801026e85685e3 100644
--- a/third_party/WebKit/Source/core/svg/SVGViewSpec.h
+++ b/third_party/WebKit/Source/core/svg/SVGViewSpec.h
@@ -28,18 +28,18 @@
namespace blink {
-class SVGViewSpec final : public RefCountedWillBeGarbageCollectedFinalized<SVGViewSpec>, public ScriptWrappable, public SVGZoomAndPan, public SVGFitToViewBox {
+class SVGViewSpec final : public GarbageCollectedFinalized<SVGViewSpec>, public ScriptWrappable, public SVGZoomAndPan, public SVGFitToViewBox {
DEFINE_WRAPPERTYPEINFO();
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGViewSpec);
+ USING_GARBAGE_COLLECTED_MIXIN(SVGViewSpec);
public:
#if !ENABLE(OILPAN)
using RefCounted<SVGViewSpec>::ref;
using RefCounted<SVGViewSpec>::deref;
#endif
- static PassRefPtrWillBeRawPtr<SVGViewSpec> create(SVGSVGElement* contextElement)
+ static RawPtr<SVGViewSpec> create(SVGSVGElement* contextElement)
{
- return adoptRefWillBeNoop(new SVGViewSpec(contextElement));
+ return new SVGViewSpec(contextElement);
}
bool parseViewSpec(const String&);
@@ -49,7 +49,7 @@ public:
// JS API
SVGTransformList* transform() { return m_transform ? m_transform->baseValue() : 0; }
- PassRefPtrWillBeRawPtr<SVGTransformListTearOff> transformFromJavascript() { return m_transform ? m_transform->baseVal() : 0; }
+ RawPtr<SVGTransformListTearOff> transformFromJavascript() { return m_transform ? m_transform->baseVal() : 0; }
SVGElement* viewTarget() const;
String viewBoxString() const;
String preserveAspectRatioString() const;
@@ -69,8 +69,8 @@ private:
template<typename CharType>
bool parseViewSpecInternal(const CharType* ptr, const CharType* end);
- RawPtrWillBeMember<SVGSVGElement> m_contextElement;
- RefPtrWillBeMember<SVGAnimatedTransformList> m_transform;
+ Member<SVGSVGElement> m_contextElement;
+ Member<SVGAnimatedTransformList> m_transform;
String m_viewTargetString;
};
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGViewElement.h ('k') | third_party/WebKit/Source/core/svg/SVGViewSpec.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698