Index: Source/core/rendering/svg/SVGInlineTextBox.cpp |
diff --git a/Source/core/rendering/svg/SVGInlineTextBox.cpp b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
index f8e6350717b59862a14fa0831c83d64691201d0a..3f20e5209b2195594d051ee1cfe95ed6a630fb3a 100644 |
--- a/Source/core/rendering/svg/SVGInlineTextBox.cpp |
+++ b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
@@ -364,7 +364,6 @@ private: |
bool PaintingResourceScope::acquirePaintingResource(GraphicsContext*& context, RenderStyle* style, RenderSVGResourceModeFlags resourceModeFlags) |
{ |
ASSERT(style); |
- ASSERT(resourceModeFlags != ApplyToDefaultMode); |
RenderSVGResourceMode resourceMode = static_cast<RenderSVGResourceMode>(resourceModeFlags & (ApplyToFillMode | ApplyToStrokeMode)); |
ASSERT(resourceMode == ApplyToFillMode || resourceMode == ApplyToStrokeMode); |
@@ -530,8 +529,6 @@ void SVGInlineTextBox::paintDecoration(GraphicsContext* context, TextDecoration |
void SVGInlineTextBox::paintDecorationWithStyle(GraphicsContext* context, TextDecoration decoration, |
const SVGTextFragment& fragment, RenderObject* decorationRenderer, RenderSVGResourceModeFlags resourceMode) |
{ |
- ASSERT(resourceMode != ApplyToDefaultMode); |
- |
RenderStyle* decorationStyle = decorationRenderer->style(); |
ASSERT(decorationStyle); |