| Index: third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| index 5d9972492db2e830f1d6d5d79a37968e626fe426..7d27e7cfbf7d07d2b40b7db27dfc3c9d00c72e44 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| @@ -167,6 +167,8 @@ void HTMLLinkElement::parseAttribute(const QualifiedName& name, const AtomicStri
|
| m_relAttribute = LinkRelAttribute(value);
|
| process();
|
| } else if (name == hrefAttr) {
|
| + // Log href attribute before logging resource fetching in process().
|
| + logEventIfIsolatedWorldAndInDocument("blinkSetAttribute", "link", hrefAttr.toString(), oldValue, value);
|
| process();
|
| } else if (name == typeAttr) {
|
| m_type = value;
|
| @@ -454,13 +456,6 @@ DEFINE_TRACE(HTMLLinkElement)
|
| DOMSettableTokenListObserver::trace(visitor);
|
| }
|
|
|
| -void HTMLLinkElement::attributeChanged(const QualifiedName& name, const AtomicString& oldValue, const AtomicString& newValue, AttributeModificationReason reason)
|
| -{
|
| - if (name == hrefAttr)
|
| - logEventIfIsolatedWorldAndInDocument("blinkSetAttribute", "link", hrefAttr.toString(), oldValue, newValue);
|
| - HTMLElement::attributeChanged(name, oldValue, newValue, reason);
|
| -}
|
| -
|
| PassOwnPtrWillBeRawPtr<LinkStyle> LinkStyle::create(HTMLLinkElement* owner)
|
| {
|
| return adoptPtrWillBeNoop(new LinkStyle(owner));
|
|
|