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

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

Issue 2488703003: Remove SVGViewElement.viewTarget attribute (Closed)
Patch Set: 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..ff75234110e2bafd3c1b811d41ae6b63a817def5 100644
--- a/third_party/WebKit/Source/core/svg/SVGViewElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGViewElement.cpp
@@ -28,25 +28,17 @@ namespace blink {
inline SVGViewElement::SVGViewElement(Document& document)
: SVGElement(SVGNames::viewTag, document),
- SVGFitToViewBox(this),
- m_viewTarget(
- SVGStaticStringList::create(this, SVGNames::viewTargetAttr)) {
foolip 2016/11/09 15:08:58 With this gone you can also drop viewTarget from S
Shanmuga Pandi 2016/11/15 04:19:58 Done.
- addToPropertyMap(m_viewTarget);
+ 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) {

Powered by Google App Engine
This is Rietveld 408576698