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

Side by Side Diff: Source/WebCore/svg/SVGStyleElement.cpp

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
« no previous file with comments | « Source/WebCore/svg/SVGStopElement.cpp ('k') | Source/WebCore/svg/SVGStyledElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2006 Apple Inc. All rights reserved. 4 * Copyright (C) 2006 Apple Inc. All rights reserved.
5 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> 5 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
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 22 matching lines...) Expand all
33 #include <wtf/StdLibExtras.h> 33 #include <wtf/StdLibExtras.h>
34 34
35 namespace WebCore { 35 namespace WebCore {
36 36
37 inline SVGStyleElement::SVGStyleElement(const QualifiedName& tagName, Document* document, bool createdByParser) 37 inline SVGStyleElement::SVGStyleElement(const QualifiedName& tagName, Document* document, bool createdByParser)
38 : SVGElement(tagName, document) 38 : SVGElement(tagName, document)
39 , StyleElement(document, createdByParser) 39 , StyleElement(document, createdByParser)
40 , m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired) 40 , m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired)
41 { 41 {
42 ASSERT(hasTagName(SVGNames::styleTag)); 42 ASSERT(hasTagName(SVGNames::styleTag));
43 ScriptWrappable::init(this);
43 } 44 }
44 45
45 SVGStyleElement::~SVGStyleElement() 46 SVGStyleElement::~SVGStyleElement()
46 { 47 {
47 StyleElement::clearDocumentData(document(), this); 48 StyleElement::clearDocumentData(document(), this);
48 } 49 }
49 50
50 PassRefPtr<SVGStyleElement> SVGStyleElement::create(const QualifiedName& tagName , Document* document, bool createdByParser) 51 PassRefPtr<SVGStyleElement> SVGStyleElement::create(const QualifiedName& tagName , Document* document, bool createdByParser)
51 { 52 {
52 return adoptRef(new SVGStyleElement(tagName, document, createdByParser)); 53 return adoptRef(new SVGStyleElement(tagName, document, createdByParser));
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 153
153 void SVGStyleElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) 154 void SVGStyleElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta)
154 { 155 {
155 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil dCountDelta); 156 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil dCountDelta);
156 StyleElement::childrenChanged(this); 157 StyleElement::childrenChanged(this);
157 } 158 }
158 159
159 } 160 }
160 161
161 #endif // ENABLE(SVG) 162 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGStopElement.cpp ('k') | Source/WebCore/svg/SVGStyledElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698