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

Side by Side Diff: Source/core/svg/SVGElement.h

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 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
« no previous file with comments | « Source/core/rendering/svg/SVGRenderingContext.cpp ('k') | Source/core/svg/SVGElement.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, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 SVGUseElement* correspondingUseElement() const; 123 SVGUseElement* correspondingUseElement() const;
124 124
125 void synchronizeAnimatedSVGAttribute(const QualifiedName&) const; 125 void synchronizeAnimatedSVGAttribute(const QualifiedName&) const;
126 126
127 virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE FINAL; 127 virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE FINAL;
128 128
129 virtual void synchronizeRequiredFeatures() { } 129 virtual void synchronizeRequiredFeatures() { }
130 virtual void synchronizeRequiredExtensions() { } 130 virtual void synchronizeRequiredExtensions() { }
131 virtual void synchronizeSystemLanguage() { } 131 virtual void synchronizeSystemLanguage() { }
132 132
133 #ifndef NDEBUG 133 #if ENABLE(ASSERT)
134 virtual bool isAnimatableAttribute(const QualifiedName&) const; 134 virtual bool isAnimatableAttribute(const QualifiedName&) const;
135 #endif 135 #endif
136 136
137 MutableStylePropertySet* animatedSMILStyleProperties() const; 137 MutableStylePropertySet* animatedSMILStyleProperties() const;
138 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); 138 MutableStylePropertySet* ensureAnimatedSMILStyleProperties();
139 void setUseOverrideComputedStyle(bool); 139 void setUseOverrideComputedStyle(bool);
140 140
141 virtual bool haveLoadedRequiredResources(); 141 virtual bool haveLoadedRequiredResources();
142 142
143 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even tListener>, bool useCapture = false) OVERRIDE FINAL; 143 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even tListener>, bool useCapture = false) OVERRIDE FINAL;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); } 258 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); }
259 }; 259 };
260 260
261 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement()); 261 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement());
262 262
263 template <> inline bool isElementOfType<const SVGElement>(const Node& node) { re turn node.isSVGElement(); } 263 template <> inline bool isElementOfType<const SVGElement>(const Node& node) { re turn node.isSVGElement(); }
264 264
265 } 265 }
266 266
267 #endif 267 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/SVGRenderingContext.cpp ('k') | Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698