| Index: Source/core/html/HTMLButtonElement.cpp
|
| diff --git a/Source/core/html/HTMLButtonElement.cpp b/Source/core/html/HTMLButtonElement.cpp
|
| index 0ec7bb87fae118685fd629273def7f99c983751d..ad348a0354b470eb7f5be8cc7de7e59aeb69d811 100644
|
| --- a/Source/core/html/HTMLButtonElement.cpp
|
| +++ b/Source/core/html/HTMLButtonElement.cpp
|
| @@ -230,4 +230,20 @@ Node::InsertionNotificationRequest HTMLButtonElement::insertedInto(ContainerNode
|
| return HTMLFormControlElement::insertedInto(insertionPoint);
|
| }
|
|
|
| +void HTMLButtonElement::attributeWillChange(const QualifiedName& name, const AtomicString& oldValue, const AtomicString& newValue)
|
| +{
|
| + if (name == formactionAttr && inDocument()) {
|
| + V8DOMActivityLogger* activityLogger = V8DOMActivityLogger::currentActivityLoggerIfIsolatedWorld();
|
| + if (activityLogger) {
|
| + Vector<String> argv;
|
| + argv.append("button");
|
| + argv.append(formactionAttr.toString());
|
| + argv.append(oldValue);
|
| + argv.append(newValue);
|
| + activityLogger->logEvent("blinkSetAttribute", argv.size(), argv.data());
|
| + }
|
| + }
|
| + HTMLFormControlElement::attributeWillChange(name, oldValue, newValue);
|
| +}
|
| +
|
| } // namespace
|
|
|