| Index: third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
|
| index 4a0b73756cebe5719c9df47e1d3f24ff49437a5e..152afb07413d17ad2eaccd34f97d847fc4ce80b8 100644
|
| --- a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
|
| @@ -317,6 +317,8 @@ Node::InsertionNotificationRequest SVGSMILElement::insertedInto(ContainerNode* r
|
| return InsertionDone;
|
|
|
| Deprecation::countDeprecation(document(), UseCounter::SVGSMILElementInDocument);
|
| + if (document().isLoadCompleted())
|
| + UseCounter::count(&document(), UseCounter::SVGSMILElementInsertedAfterLoad);
|
|
|
| setAttributeName(constructQualifiedName(this, fastGetAttribute(SVGNames::attributeNameAttr)));
|
| SVGSVGElement* owner = ownerSVGElement();
|
| @@ -472,12 +474,15 @@ bool SVGSMILElement::parseCondition(const String& value, BeginOrEnd beginOrEnd)
|
| } else if (nameString == "begin" || nameString == "end") {
|
| if (baseID.isEmpty())
|
| return false;
|
| + UseCounter::count(&document(), UseCounter::SVGSMILBeginOrEndSyncbaseValue);
|
| type = Condition::Syncbase;
|
| } else if (nameString.startsWith("accesskey(")) {
|
| // FIXME: accesskey() support.
|
| type = Condition::AccessKey;
|
| - } else
|
| + } else {
|
| + UseCounter::count(&document(), UseCounter::SVGSMILBeginOrEndEventValue);
|
| type = Condition::EventBase;
|
| + }
|
|
|
| m_conditions.append(Condition::create(type, beginOrEnd, baseID, nameString, offset, repeat));
|
|
|
|
|