More Qt build fix.
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Jun 2010 23:10:05 +0000 (23:10 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Jun 2010 23:10:05 +0000 (23:10 +0000)
* html/HTMLElementStack.cpp: Put !ENABLE(SVG_FOREIGN_OBJECT) around
include of SVGNames.h too.

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

WebCore/ChangeLog
WebCore/html/HTMLElementStack.cpp

index b4b60f3..7a3580c 100644 (file)
@@ -1,5 +1,12 @@
 2010-06-30  Darin Adler  <darin@apple.com>
 
+        More Qt build fix.
+
+        * html/HTMLElementStack.cpp: Put !ENABLE(SVG_FOREIGN_OBJECT) around
+        include of SVGNames.h too.
+
+2010-06-30  Darin Adler  <darin@apple.com>
+
         Reviewed by Adam Barth.
 
         Add assertion, off by default, for when you forget to do adoptRef
index 4fcbcb8..0aa9f0c 100644 (file)
 
 #include "Element.h"
 #include "HTMLNames.h"
-#include "SVGNames.h"
 #include <wtf/PassOwnPtr.h>
 
+#if ENABLE(SVG_FOREIGN_OBJECT)
+#include "SVGNames.h"
+#endif
+
 namespace WebCore {
 
 using namespace HTMLNames;