FEComposite does not build when you disable filters on ARMv7
authorbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Dec 2011 05:53:42 +0000 (05:53 +0000)
committerbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Dec 2011 05:53:42 +0000 (05:53 +0000)
https://bugs.webkit.org/show_bug.cgi?id=74772

Patch by Benjamin Poulain <bpoulain@apple.com> on 2011-12-16
Reviewed by David Kilzer.

Add the missing ENABLE(FILTERS).

* platform/graphics/filters/arm/FECompositeArithmeticNEON.cpp:
* platform/graphics/filters/arm/FECompositeArithmeticNEON.h:

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/filters/arm/FECompositeArithmeticNEON.cpp
Source/WebCore/platform/graphics/filters/arm/FECompositeArithmeticNEON.h

index 771bd63..15a235f 100644 (file)
@@ -1,3 +1,15 @@
+2011-12-16  Benjamin Poulain  <bpoulain@apple.com>
+
+        FEComposite does not build when you disable filters on ARMv7
+        https://bugs.webkit.org/show_bug.cgi?id=74772
+
+        Reviewed by David Kilzer.
+
+        Add the missing ENABLE(FILTERS).
+
+        * platform/graphics/filters/arm/FECompositeArithmeticNEON.cpp:
+        * platform/graphics/filters/arm/FECompositeArithmeticNEON.h:
+
 2011-12-16  Ryosuke Niwa  <rniwa@webkit.org>
 
         Mac build fix after r103104.
index fb04098..22a8458 100644 (file)
@@ -25,6 +25,8 @@
  */
 
 #include "config.h"
+
+#if ENABLE(FILTERS)
 #include "FECompositeArithmeticNEON.h"
 
 #if CPU(ARM_NEON) && COMPILER(GCC)
@@ -148,3 +150,6 @@ TOSTRING(neonDrawCompositeArithmetic) ":" NL
 } // namespace WebCore
 
 #endif // CPU(ARM_NEON) && COMPILER(GCC)
+
+#endif // ENABLE(FILTERS)
+
index 67689c5..a2b3f6f 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <wtf/Platform.h>
 
+#if ENABLE(FILTERS)
 #if CPU(ARM_NEON) && COMPILER(GCC)
 
 #include "FEComposite.h"
@@ -47,5 +48,6 @@ inline void FEComposite::platformArithmeticNeon(unsigned char* source, unsigned
 } // namespace WebCore
 
 #endif // CPU(ARM_NEON) && COMPILER(GCC)
+#endif // ENABLE(FILTERS)
 
 #endif // FECompositeArithmeticNEON_h