Index: Source/core/html/HTMLAnchorElement.cpp |
diff --git a/Source/core/html/HTMLAnchorElement.cpp b/Source/core/html/HTMLAnchorElement.cpp |
index 8aa7f7eac91f6f2094d75822d3579fb6c6128a9e..42a790e29d55d34074ff40718854c1dcf01e681f 100644 |
--- a/Source/core/html/HTMLAnchorElement.cpp |
+++ b/Source/core/html/HTMLAnchorElement.cpp |
@@ -247,6 +247,7 @@ KURL HTMLAnchorElement::href() const |
void HTMLAnchorElement::setHref(const AtomicString& value) |
{ |
setAttribute(hrefAttr, value); |
+ DOMURLUtils::update(); |
} |
KURL HTMLAnchorElement::url() const |
@@ -386,4 +387,10 @@ Node::InsertionNotificationRequest HTMLAnchorElement::insertedInto(ContainerNode |
return HTMLElement::insertedInto(insertionPoint); |
} |
+void HTMLAnchorElement::trace(Visitor* visitor) |
+{ |
+ DOMURLUtils::trace(visitor); |
+ HTMLElement::trace(visitor); |
+} |
+ |
} |