Changeset 52618 in webkit
- Timestamp:
- Dec 29, 2009 5:21:55 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r52610 r52618 1 2009-12-29 Laszlo Gombos <laszlo.1.gombos@nokia.com> 2 3 Reviewed by Eric Seidel. 4 5 Use explicit parentheses to silence gcc 4.4 -Wparentheses warnings 6 https://bugs.webkit.org/show_bug.cgi?id=33003 7 8 No new tests as there is no new functionality. 9 10 * editing/CompositeEditCommand.cpp: 11 (WebCore::CompositeEditCommand::breakOutOfEmptyMailBlockquotedParagraph): 12 * page/animation/ImplicitAnimation.cpp: 13 (WebCore::ImplicitAnimation::sendTransitionEvent): 14 * page/animation/KeyframeAnimation.cpp: 15 (WebCore::KeyframeAnimation::sendAnimationEvent): 16 * rendering/RenderSVGContainer.h: 17 (WebCore::toRenderSVGContainer): 18 * rendering/style/RenderStyle.cpp: 19 (WebCore::RenderStyle::setTextShadow): 20 * svg/graphics/SVGPaintServerGradient.cpp: 21 (WebCore::SVGPaintServerGradient::setup): 22 * svg/graphics/SVGPaintServerPattern.cpp: 23 (WebCore::SVGPaintServerPattern::setup): 24 1 25 2009-12-28 Andrei Popescu <andreip@google.com> 2 26 -
trunk/WebCore/editing/CompositeEditCommand.cpp
r52465 r52618 1091 1091 Position caretPos(caret.deepEquivalent()); 1092 1092 // A line break is either a br or a preserved newline. 1093 ASSERT(caretPos.node()->hasTagName(brTag) || caretPos.node()->isTextNode() && caretPos.node()->renderer()->style()->preserveNewline());1093 ASSERT(caretPos.node()->hasTagName(brTag) || (caretPos.node()->isTextNode() && caretPos.node()->renderer()->style()->preserveNewline())); 1094 1094 1095 1095 if (caretPos.node()->hasTagName(brTag)) { -
trunk/WebCore/page/animation/ImplicitAnimation.cpp
r52019 r52618 162 162 element = static_cast<Element*>(m_object->node()); 163 163 164 ASSERT(!element || element->document() && !element->document()->inPageCache());164 ASSERT(!element || (element->document() && !element->document()->inPageCache())); 165 165 if (!element) 166 166 return false; -
trunk/WebCore/page/animation/KeyframeAnimation.cpp
r52022 r52618 282 282 element = static_cast<Element*>(m_object->node()); 283 283 284 ASSERT(!element || element->document() && !element->document()->inPageCache());284 ASSERT(!element || (element->document() && !element->document()->inPageCache())); 285 285 if (!element) 286 286 return false; -
trunk/WebCore/rendering/RenderSVGContainer.h
r46815 r52618 79 79 { 80 80 // Note: isSVGContainer is also true for RenderSVGViewportContainer, which is not derived from this. 81 ASSERT(!object || object->isSVGContainer() && strcmp(object->renderName(), "RenderSVGViewportContainer"));81 ASSERT(!object || (object->isSVGContainer() && strcmp(object->renderName(), "RenderSVGViewportContainer"))); 82 82 return static_cast<RenderSVGContainer*>(object); 83 83 } … … 86 86 { 87 87 // Note: isSVGContainer is also true for RenderSVGViewportContainer, which is not derived from this. 88 ASSERT(!object || object->isSVGContainer() && strcmp(object->renderName(), "RenderSVGViewportContainer"));88 ASSERT(!object || (object->isSVGContainer() && strcmp(object->renderName(), "RenderSVGViewportContainer"))); 89 89 return static_cast<const RenderSVGContainer*>(object); 90 90 } -
trunk/WebCore/rendering/style/RenderStyle.cpp
r50675 r52618 703 703 void RenderStyle::setTextShadow(ShadowData* val, bool add) 704 704 { 705 ASSERT(!val || !val->spread && val->style == Normal);705 ASSERT(!val || (!val->spread && val->style == Normal)); 706 706 707 707 StyleRareInheritedData* rareData = rareInheritedData.access(); -
trunk/WebCore/svg/graphics/SVGPaintServerGradient.cpp
r50760 r52618 194 194 bool isStroked = (type & ApplyToStrokeTargetType) && style->hasStroke(); 195 195 196 ASSERT( isFilled && !isStroked || !isFilled && isStroked);196 ASSERT((isFilled && !isStroked) || (!isFilled && isStroked)); 197 197 198 198 context->save(); -
trunk/WebCore/svg/graphics/SVGPaintServerPattern.cpp
r51823 r52618 104 104 bool isStroked = (type & ApplyToStrokeTargetType) && style->hasStroke(); 105 105 106 ASSERT( isFilled && !isStroked || !isFilled && isStroked);106 ASSERT((isFilled && !isStroked) || (!isFilled && isStroked)); 107 107 108 108 m_ownerElement->buildPattern(targetRect);
Note: See TracChangeset
for help on using the changeset viewer.