Changeset 58213 in webkit
- Timestamp:
- Apr 24, 2010 5:35:44 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r58212 r58213 1 2010-04-24 Nikolas Zimmermann <nzimmermann@rim.com> 2 3 Not reviewed. Fix release builds, wrap resourceMode assertion in NDEBUG blocks, use UNUSED_PARAM() otherwhise. 4 5 * rendering/RenderSVGResourceClipper.cpp: 6 (WebCore::RenderSVGResourceClipper::applyResource): 7 * rendering/RenderSVGResourceFilter.cpp: 8 (WebCore::RenderSVGResourceFilter::applyResource): 9 (WebCore::RenderSVGResourceFilter::postApplyResource): 10 * rendering/RenderSVGResourceMasker.cpp: 11 (WebCore::RenderSVGResourceMasker::applyResource): 12 1 13 2010-04-24 Nikolas Zimmermann <nzimmermann@rim.com> 2 14 -
trunk/WebCore/rendering/RenderSVGResourceClipper.cpp
r58212 r58213 39 39 #include "SVGUnitTypes.h" 40 40 #include "SVGUseElement.h" 41 #include <wtf/UnusedParam.h> 41 42 42 43 namespace WebCore { … … 86 87 ASSERT(object); 87 88 ASSERT(context); 89 #ifndef NDEBUG 88 90 ASSERT(resourceMode == ApplyToDefaultMode); 91 #else 92 UNUSED_PARAM(resourceMode); 93 #endif 89 94 applyClippingToContext(object, object->objectBoundingBox(), object->repaintRectInLocalCoordinates(), context); 90 95 return true; -
trunk/WebCore/rendering/RenderSVGResourceFilter.cpp
r58212 r58213 44 44 #include "SVGUnitTypes.h" 45 45 #include <wtf/Vector.h> 46 #include <wtf/UnusedParam.h> 46 47 47 48 static const float kMaxFilterSize = 5000.0f; … … 140 141 ASSERT(object); 141 142 ASSERT(context); 143 #ifndef NDEBUG 142 144 ASSERT(resourceMode == ApplyToDefaultMode); 145 #else 146 UNUSED_PARAM(resourceMode); 147 #endif 143 148 144 149 // Returning false here, to avoid drawings onto the context. We just want to … … 235 240 ASSERT(object); 236 241 ASSERT(context); 242 #ifndef NDEBUG 237 243 ASSERT(resourceMode == ApplyToDefaultMode); 244 #else 245 UNUSED_PARAM(resourceMode); 246 #endif 238 247 239 248 if (!m_filter.contains(object)) -
trunk/WebCore/rendering/RenderSVGResourceMasker.cpp
r58212 r58213 38 38 #include "SVGUnitTypes.h" 39 39 #include <wtf/Vector.h> 40 #include <wtf/UnusedParam.h> 40 41 41 42 namespace WebCore { … … 86 87 ASSERT(object); 87 88 ASSERT(context); 89 #ifndef NDEBUG 88 90 ASSERT(resourceMode == ApplyToDefaultMode); 91 #else 92 UNUSED_PARAM(resourceMode); 93 #endif 89 94 90 95 if (!m_masker.contains(object))
Note: See TracChangeset
for help on using the changeset viewer.