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

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

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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/core/svg/SVGStringListTearOff.cpp ('k') | Source/core/svg/SVGSwitchElement.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 15 matching lines...) Expand all
26 #include "core/css/CSSStyleSheet.h" 26 #include "core/css/CSSStyleSheet.h"
27 #include "wtf/StdLibExtras.h" 27 #include "wtf/StdLibExtras.h"
28 28
29 namespace blink { 29 namespace blink {
30 30
31 inline SVGStyleElement::SVGStyleElement(Document& document, bool createdByParser ) 31 inline SVGStyleElement::SVGStyleElement(Document& document, bool createdByParser )
32 : SVGElement(SVGNames::styleTag, document) 32 : SVGElement(SVGNames::styleTag, document)
33 , StyleElement(&document, createdByParser) 33 , StyleElement(&document, createdByParser)
34 , m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired) 34 , m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired)
35 { 35 {
36 ScriptWrappable::init(this);
37 } 36 }
38 37
39 SVGStyleElement::~SVGStyleElement() 38 SVGStyleElement::~SVGStyleElement()
40 { 39 {
41 #if !ENABLE(OILPAN) 40 #if !ENABLE(OILPAN)
42 StyleElement::clearDocumentData(document(), this); 41 StyleElement::clearDocumentData(document(), this);
43 #endif 42 #endif
44 } 43 }
45 44
46 PassRefPtrWillBeRawPtr<SVGStyleElement> SVGStyleElement::create(Document& docume nt, bool createdByParser) 45 PassRefPtrWillBeRawPtr<SVGStyleElement> SVGStyleElement::create(Document& docume nt, bool createdByParser)
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 StyleElement::childrenChanged(this); 149 StyleElement::childrenChanged(this);
151 } 150 }
152 151
153 void SVGStyleElement::trace(Visitor* visitor) 152 void SVGStyleElement::trace(Visitor* visitor)
154 { 153 {
155 StyleElement::trace(visitor); 154 StyleElement::trace(visitor);
156 SVGElement::trace(visitor); 155 SVGElement::trace(visitor);
157 } 156 }
158 157
159 } 158 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGStringListTearOff.cpp ('k') | Source/core/svg/SVGSwitchElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698