Chromium Code Reviews| 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) { |