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

Unified Diff: Source/core/html/HTMLAnchorElement.cpp

Issue 143313002: Implement URLSearchParams. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 4 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
« no previous file with comments | « Source/core/html/HTMLAnchorElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+}
+
}
« no previous file with comments | « Source/core/html/HTMLAnchorElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698