Fix the build.
authorjustin.garcia@apple.com <justin.garcia@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2007 01:22:39 +0000 (01:22 +0000)
committerjustin.garcia@apple.com <justin.garcia@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2007 01:22:39 +0000 (01:22 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28703 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/editing/ApplyStyleCommand.cpp

index 935786b..ff0a04e 100644 (file)
@@ -743,22 +743,18 @@ void ApplyStyleCommand::removeHTMLFontStyle(CSSMutableStyleDeclaration *style, H
 
     if (!elem->hasLocalName(fontTag))
         return;
-
-    ExceptionCode ec = 0;
+        
     DeprecatedValueListConstIterator<CSSProperty> end;
     for (DeprecatedValueListConstIterator<CSSProperty> it = style->valuesIterator(); it != end; ++it) {
         switch ((*it).id()) {
             case CSS_PROP_COLOR:
                 removeNodeAttribute(elem, colorAttr);
-                ASSERT(ec == 0);
                 break;
             case CSS_PROP_FONT_FAMILY:
                 removeNodeAttribute(elem, faceAttr);
-                ASSERT(ec == 0);
                 break;
             case CSS_PROP_FONT_SIZE:
                 removeNodeAttribute(elem, sizeAttr);
-                ASSERT(ec == 0);
                 break;
         }
     }