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

Unified Diff: third_party/WebKit/Source/core/svg/SVGViewElement.cpp

Issue 2488703003: Remove SVGViewElement.viewTarget attribute (Closed)
Patch Set: fixed layout test failures in html5lib Created 4 years, 1 month 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: third_party/WebKit/Source/core/svg/SVGViewElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGViewElement.cpp b/third_party/WebKit/Source/core/svg/SVGViewElement.cpp
index 7047636e83a235a43fc04bc09330cc0e6898ee32..4cbf0fe45738e01ecbc20485fc13efbc06072284 100644
--- a/third_party/WebKit/Source/core/svg/SVGViewElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGViewElement.cpp
@@ -22,31 +22,21 @@
#include "core/SVGNames.h"
#include "core/frame/UseCounter.h"
-#include "core/svg/SVGStaticStringList.h"
namespace blink {
inline SVGViewElement::SVGViewElement(Document& document)
- : SVGElement(SVGNames::viewTag, document),
- SVGFitToViewBox(this),
- m_viewTarget(
- SVGStaticStringList::create(this, SVGNames::viewTargetAttr)) {
- addToPropertyMap(m_viewTarget);
+ : SVGElement(SVGNames::viewTag, document), SVGFitToViewBox(this) {
UseCounter::count(document, UseCounter::SVGViewElement);
}
DEFINE_NODE_FACTORY(SVGViewElement)
DEFINE_TRACE(SVGViewElement) {
- visitor->trace(m_viewTarget);
SVGElement::trace(visitor);
SVGFitToViewBox::trace(visitor);
}
-SVGStringListTearOff* SVGViewElement::viewTarget() {
- return m_viewTarget->tearOff();
-}
-
void SVGViewElement::parseAttribute(const QualifiedName& name,
const AtomicString& oldValue,
const AtomicString& value) {
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGViewElement.h ('k') | third_party/WebKit/Source/core/svg/SVGViewElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698