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

Unified Diff: Source/core/svg/properties/SVGPropertyTearOff.h

Issue 311803003: [oilpan]: Avoid refcounting QualifiedName's nullQName when tracing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 6 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: Source/core/svg/properties/SVGPropertyTearOff.h
diff --git a/Source/core/svg/properties/SVGPropertyTearOff.h b/Source/core/svg/properties/SVGPropertyTearOff.h
index 00ee10a7830805a7f5527b99fd36e40c52cf4704..57179b429aaf4e64682bf4ee1830863a8f120f63 100644
--- a/Source/core/svg/properties/SVGPropertyTearOff.h
+++ b/Source/core/svg/properties/SVGPropertyTearOff.h
@@ -87,7 +87,7 @@ public:
{
ASSERT(!isImmutable());
ASSERT(contextElement);
- ASSERT(attributeName != nullQName());
+ ASSERT(attributeName != QualifiedName::null());
m_contextElement = contextElement;
m_attributeName = attributeName;
}
@@ -95,7 +95,7 @@ public:
virtual AnimatedPropertyType type() const = 0;
protected:
- SVGPropertyTearOffBase(SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = nullQName())
+ SVGPropertyTearOffBase(SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
: m_contextElement(contextElement)
, m_propertyIsAnimVal(propertyIsAnimVal)
, m_isReadOnlyProperty(false)
@@ -131,7 +131,7 @@ public:
}
protected:
- SVGPropertyTearOff(PassRefPtr<Property> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = nullQName())
+ SVGPropertyTearOff(PassRefPtr<Property> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
: SVGPropertyTearOffBase(contextElement, propertyIsAnimVal, attributeName)
, m_target(target)
{
« no previous file with comments | « Source/core/svg/properties/SVGListPropertyTearOffHelper.h ('k') | Source/core/svg/properties/SVGPropertyTearOff.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698