Title: [140845] trunk/Source/WebCore
Revision
140845
Author
commit-qu...@webkit.org
Date
2013-01-25 10:11:07 -0800 (Fri, 25 Jan 2013)

Log Message

Build broken when svg is disabled.
https://bugs.webkit.org/show_bug.cgi?id=92393.

Unreviewed build fix.

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

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (140844 => 140845)


--- trunk/Source/WebCore/ChangeLog	2013-01-25 18:08:38 UTC (rev 140844)
+++ trunk/Source/WebCore/ChangeLog	2013-01-25 18:11:07 UTC (rev 140845)
@@ -1,3 +1,15 @@
+2013-01-25  Chang Shu  <c...@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  <to...@chromium.org>
 
         Abort parsing when pending location change for threaded HTML parser

Modified: trunk/Source/WebCore/css/StyleResolver.cpp (140844 => 140845)


--- trunk/Source/WebCore/css/StyleResolver.cpp	2013-01-25 18:08:38 UTC (rev 140844)
+++ trunk/Source/WebCore/css/StyleResolver.cpp	2013-01-25 18:11:07 UTC (rev 140845)
@@ -4106,12 +4106,12 @@
 #endif
         ASSERT_NOT_REACHED();
         return;
+    default:
 #if ENABLE(SVG)
-    default:
         // Try the SVG properties
         applySVGProperty(id, value);
+#endif
         return;
-#endif
     }
 }
 

Modified: trunk/Source/WebCore/rendering/FilterEffectRenderer.cpp (140844 => 140845)


--- trunk/Source/WebCore/rendering/FilterEffectRenderer.cpp	2013-01-25 18:08:38 UTC (rev 140844)
+++ trunk/Source/WebCore/rendering/FilterEffectRenderer.cpp	2013-01-25 18:11:07 UTC (rev 140845)
@@ -182,6 +182,7 @@
     }
     return effect;
 #else
+    UNUSED_PARAM(renderer);
     UNUSED_PARAM(previousEffect);
     UNUSED_PARAM(filterOperation);
     return 0;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to