Build broken when svg is disabled.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Jan 2013 18:11:07 +0000 (18:11 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Jan 2013 18:11:07 +0000 (18:11 +0000)
https://bugs.webkit.org/show_bug.cgi?id=92393.

Unreviewed build fix.

Patch by Chang Shu <cshu@webkit.org> on 2013-01-25

* css/StyleResolver.cpp:
(WebCore::StyleResolver::applyProperty):
* rendering/FilterEffectRenderer.cpp:
(WebCore::FilterEffectRenderer::buildReferenceFilter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140845 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/css/StyleResolver.cpp
Source/WebCore/rendering/FilterEffectRenderer.cpp

index 016d68e..222cf27 100644 (file)
@@ -1,3 +1,15 @@
+2013-01-25  Chang Shu  <cshu@webkit.org>
+
+        Build broken when svg is disabled.
+        https://bugs.webkit.org/show_bug.cgi?id=92393.
+
+        Unreviewed build fix.
+
+        * css/StyleResolver.cpp:
+        (WebCore::StyleResolver::applyProperty):
+        * rendering/FilterEffectRenderer.cpp:
+        (WebCore::FilterEffectRenderer::buildReferenceFilter):
+
 2013-01-25  Tony Gentilcore  <tonyg@chromium.org>
 
         Abort parsing when pending location change for threaded HTML parser
index b263d80..3717514 100644 (file)
@@ -4106,12 +4106,12 @@ void StyleResolver::applyProperty(CSSPropertyID id, CSSValue* value)
 #endif
         ASSERT_NOT_REACHED();
         return;
-#if ENABLE(SVG)
     default:
+#if ENABLE(SVG)
         // Try the SVG properties
         applySVGProperty(id, value);
-        return;
 #endif
+        return;
     }
 }
 
index 96435f9..dea2ef0 100644 (file)
@@ -182,6 +182,7 @@ PassRefPtr<FilterEffect> FilterEffectRenderer::buildReferenceFilter(RenderObject
     }
     return effect;
 #else
+    UNUSED_PARAM(renderer);
     UNUSED_PARAM(previousEffect);
     UNUSED_PARAM(filterOperation);
     return 0;