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

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

Issue 143313002: Implement URLSearchParams. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adjust position of HTMLAnchorElement's update() call Created 6 years, 6 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
Index: Source/core/html/HTMLAnchorElement.cpp
diff --git a/Source/core/html/HTMLAnchorElement.cpp b/Source/core/html/HTMLAnchorElement.cpp
index 7f585364663eea2a28813e9b30cf72140c82693f..e13988c160a28efc20796b890f35a131f3e522a6 100644
--- a/Source/core/html/HTMLAnchorElement.cpp
+++ b/Source/core/html/HTMLAnchorElement.cpp
@@ -287,6 +287,7 @@ KURL HTMLAnchorElement::href() const
void HTMLAnchorElement::setHref(const AtomicString& value)
{
setAttribute(hrefAttr, value);
+ DOMURLUtils::update();
}
KURL HTMLAnchorElement::url() const
@@ -587,6 +588,7 @@ bool HTMLAnchorElement::isInteractiveContent() const
void HTMLAnchorElement::trace(Visitor* visitor)
{
visitor->trace(m_prefetchEventHandler);
+ DOMURLUtils::trace(visitor);
HTMLElement::trace(visitor);
}
« Source/core/dom/URLSearchParams.idl ('K') | « Source/core/html/HTMLAnchorElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698