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

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

Issue 324073002: Oilpan: Switch RefCountedGarbageCollected to GarbageCollectedFinalized for Node. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and update Node base class list Created 6 years, 6 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/SVGScriptElement.cpp ('k') | Source/core/svg/SVGUseElement.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 27 matching lines...) Expand all
38 38
39 SVGStyleElement::~SVGStyleElement() 39 SVGStyleElement::~SVGStyleElement()
40 { 40 {
41 #if !ENABLE(OILPAN) 41 #if !ENABLE(OILPAN)
42 StyleElement::clearDocumentData(document(), this); 42 StyleElement::clearDocumentData(document(), this);
43 #endif 43 #endif
44 } 44 }
45 45
46 PassRefPtrWillBeRawPtr<SVGStyleElement> SVGStyleElement::create(Document& docume nt, bool createdByParser) 46 PassRefPtrWillBeRawPtr<SVGStyleElement> SVGStyleElement::create(Document& docume nt, bool createdByParser)
47 { 47 {
48 return adoptRefWillBeRefCountedGarbageCollected(new SVGStyleElement(document , createdByParser)); 48 return adoptRefWillBeNoop(new SVGStyleElement(document, createdByParser));
49 } 49 }
50 50
51 bool SVGStyleElement::disabled() const 51 bool SVGStyleElement::disabled() const
52 { 52 {
53 if (!m_sheet) 53 if (!m_sheet)
54 return false; 54 return false;
55 55
56 return m_sheet->disabled(); 56 return m_sheet->disabled();
57 } 57 }
58 58
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 StyleElement::childrenChanged(this); 150 StyleElement::childrenChanged(this);
151 } 151 }
152 152
153 void SVGStyleElement::trace(Visitor* visitor) 153 void SVGStyleElement::trace(Visitor* visitor)
154 { 154 {
155 StyleElement::trace(visitor); 155 StyleElement::trace(visitor);
156 SVGElement::trace(visitor); 156 SVGElement::trace(visitor);
157 } 157 }
158 158
159 } 159 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGScriptElement.cpp ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698