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

Side by Side Diff: Source/core/svg/SVGSVGElement.cpp

Issue 1212253012: Fix virtual/override/final usage in Source/core/svg/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2007 Apple Inc. All rights reserved.
5 * Copyright (C) 2014 Google, Inc. 5 * Copyright (C) 2014 Google, Inc.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 frame->setPageZoomFactor(scale); 171 frame->setPageZoomFactor(scale);
172 } 172 }
173 173
174 class SVGCurrentTranslateTearOff : public SVGPointTearOff { 174 class SVGCurrentTranslateTearOff : public SVGPointTearOff {
175 public: 175 public:
176 static PassRefPtrWillBeRawPtr<SVGCurrentTranslateTearOff> create(SVGSVGEleme nt* contextElement) 176 static PassRefPtrWillBeRawPtr<SVGCurrentTranslateTearOff> create(SVGSVGEleme nt* contextElement)
177 { 177 {
178 return adoptRefWillBeNoop(new SVGCurrentTranslateTearOff(contextElement) ); 178 return adoptRefWillBeNoop(new SVGCurrentTranslateTearOff(contextElement) );
179 } 179 }
180 180
181 virtual void commitChange() override 181 void commitChange() override
182 { 182 {
183 ASSERT(contextElement()); 183 ASSERT(contextElement());
184 toSVGSVGElement(contextElement())->updateCurrentTranslate(); 184 toSVGSVGElement(contextElement())->updateCurrentTranslate();
185 } 185 }
186 186
187 private: 187 private:
188 SVGCurrentTranslateTearOff(SVGSVGElement* contextElement) 188 SVGCurrentTranslateTearOff(SVGSVGElement* contextElement)
189 : SVGPointTearOff(contextElement->m_translation, contextElement, Propert yIsNotAnimVal) 189 : SVGPointTearOff(contextElement->m_translation, contextElement, Propert yIsNotAnimVal)
190 { 190 {
191 } 191 }
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 visitor->trace(m_width); 781 visitor->trace(m_width);
782 visitor->trace(m_height); 782 visitor->trace(m_height);
783 visitor->trace(m_translation); 783 visitor->trace(m_translation);
784 visitor->trace(m_timeContainer); 784 visitor->trace(m_timeContainer);
785 visitor->trace(m_viewSpec); 785 visitor->trace(m_viewSpec);
786 SVGGraphicsElement::trace(visitor); 786 SVGGraphicsElement::trace(visitor);
787 SVGFitToViewBox::trace(visitor); 787 SVGFitToViewBox::trace(visitor);
788 } 788 }
789 789
790 } // namespace blink 790 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698