Index: Source/core/html/HTMLAnchorElement.cpp |
diff --git a/Source/core/html/HTMLAnchorElement.cpp b/Source/core/html/HTMLAnchorElement.cpp |
index e94d808541d61fff5b1c7bd9f82ff5da1c61e957..1e9b10f7abba352de260955463e3a875eeaf827c 100644 |
--- a/Source/core/html/HTMLAnchorElement.cpp |
+++ b/Source/core/html/HTMLAnchorElement.cpp |
@@ -293,11 +293,6 @@ short HTMLAnchorElement::tabIndex() const |
return Element::tabIndex(); |
} |
-AtomicString HTMLAnchorElement::target() const |
-{ |
- return getAttribute(targetAttr); |
-} |
- |
bool HTMLAnchorElement::isLiveLink() const |
{ |
return isLink() && !hasEditableStyle(); |
@@ -346,7 +341,7 @@ void HTMLAnchorElement::handleClick(Event* event) |
frame->loader().client()->loadURLExternally(request, NavigationPolicyDownload, suggestedName); |
} else { |
- FrameLoadRequest frameRequest(&document(), request, target()); |
+ FrameLoadRequest frameRequest(&document(), request, getAttribute(targetAttr)); |
frameRequest.setTriggeringEvent(event); |
if (hasRel(RelationNoReferrer)) |
frameRequest.setShouldSendReferrer(NeverSendReferrer); |