BUILD FIX: RenderLayerFilterInfo.h needs to include Element.h with ENABLE(SVG)
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 3 Mar 2013 15:59:17 +0000 (15:59 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 3 Mar 2013 15:59:17 +0000 (15:59 +0000)
Fixes the following build failures:

    In file included from Source/WebCore/rendering/RenderLayerFilterInfo.cpp:33:
    Source/WebCore/rendering/RenderLayerFilterInfo.h:118:19: error: use of undeclared identifier 'Element'
        Vector<RefPtr<Element> > m_internalSVGReferences;
                      ^
    Source/WebCore/rendering/RenderLayerFilterInfo.h:118:28: error: expected a type
        Vector<RefPtr<Element> > m_internalSVGReferences;
                               ^
    Source/WebCore/rendering/RenderLayerFilterInfo.h:118:30: error: private field 'm_internalSVGReferences' is not used [-Werror,-Wunused-private-field]
        Vector<RefPtr<Element> > m_internalSVGReferences;
                                 ^
    3 errors generated.

* rendering/RenderLayerFilterInfo.h: Include Element.h within
ENABLE(SVG).  Move ENABLE(SVG) block below unconditional
headers.

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

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayerFilterInfo.h

index 922b82a..7449759 100644 (file)
@@ -1,3 +1,25 @@
+2013-03-03  David Kilzer  <ddkilzer@apple.com>
+
+        BUILD FIX: RenderLayerFilterInfo.h needs to include Element.h with ENABLE(SVG)
+
+        Fixes the following build failures:
+
+            In file included from Source/WebCore/rendering/RenderLayerFilterInfo.cpp:33:
+            Source/WebCore/rendering/RenderLayerFilterInfo.h:118:19: error: use of undeclared identifier 'Element'
+                Vector<RefPtr<Element> > m_internalSVGReferences;
+                              ^
+            Source/WebCore/rendering/RenderLayerFilterInfo.h:118:28: error: expected a type
+                Vector<RefPtr<Element> > m_internalSVGReferences;
+                                       ^
+            Source/WebCore/rendering/RenderLayerFilterInfo.h:118:30: error: private field 'm_internalSVGReferences' is not used [-Werror,-Wunused-private-field]
+                Vector<RefPtr<Element> > m_internalSVGReferences;
+                                         ^
+            3 errors generated.
+
+        * rendering/RenderLayerFilterInfo.h: Include Element.h within
+        ENABLE(SVG).  Move ENABLE(SVG) block below unconditional
+        headers.
+
 2013-03-03  Sheriff Bot  <webkit.review.bot@gmail.com>
 
         Unreviewed, rolling out r144567.
index e514a5a..15b57ae 100644 (file)
@@ -32,9 +32,6 @@
 
 #if ENABLE(CSS_FILTERS)
 
-#if ENABLE(SVG)
-#include "CachedSVGDocument.h"
-#endif
 #include "FilterOperation.h"
 #include "LayoutRect.h"
 #include <wtf/HashMap.h>
 #include "CustomFilterProgramClient.h"
 #endif
 
+#if ENABLE(SVG)
+#include "CachedSVGDocument.h"
+#include "Element.h"
+#endif
+
 namespace WebCore {
 
 class FilterEffectRenderer;