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

Unified Diff: Source/core/svg/SVGAElement.cpp

Issue 136033003: Remove unused functions: HitTestResult::targetFrame, and Element::target. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/svg/SVGAElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAElement.cpp
diff --git a/Source/core/svg/SVGAElement.cpp b/Source/core/svg/SVGAElement.cpp
index e549f134c558a5ace1163060c6e6a44bbbe6e7ae..70b116b703937e9ba44cdbd83b5d812195c813c5 100644
--- a/Source/core/svg/SVGAElement.cpp
+++ b/Source/core/svg/SVGAElement.cpp
@@ -167,7 +167,7 @@ void SVGAElement::defaultEventHandler(Event* event)
return;
}
- AtomicString target = this->target();
+ AtomicString target(svgTargetCurrentValue());
if (target.isEmpty() && fastGetAttribute(XLinkNames::showAttr) == "new")
target = AtomicString("_blank", AtomicString::ConstructFromLiteral);
event->setDefaultHandled();
« no previous file with comments | « Source/core/svg/SVGAElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698