Title: [134527] trunk/Source/WebCore
- Revision
- 134527
- Author
- jsb...@chromium.org
- Date
- 2012-11-13 20:22:39 -0800 (Tue, 13 Nov 2012)
Log Message
[V8] Add missing ENABLE(SVG) test in header
https://bugs.webkit.org/show_bug.cgi?id=102143
Reviewed by Kentaro Hara.
Need to wrap the #include of a header that's only conditionally generated.
Fixes build error if compiling e.g. w/ GYP_DEFINES="enable_svg=0"
* bindings/v8/custom/V8ElementCustom.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (134526 => 134527)
--- trunk/Source/WebCore/ChangeLog 2012-11-14 04:21:41 UTC (rev 134526)
+++ trunk/Source/WebCore/ChangeLog 2012-11-14 04:22:39 UTC (rev 134527)
@@ -1,3 +1,16 @@
+2012-11-13 Joshua Bell <jsb...@chromium.org>
+
+ [V8] Add missing ENABLE(SVG) test in header
+ https://bugs.webkit.org/show_bug.cgi?id=102143
+
+ Reviewed by Kentaro Hara.
+
+ Need to wrap the #include of a header that's only conditionally generated.
+
+ Fixes build error if compiling e.g. w/ GYP_DEFINES="enable_svg=0"
+
+ * bindings/v8/custom/V8ElementCustom.cpp:
+
2012-11-13 Jon Lee <jon...@apple.com>
Automatically run small plugins
Modified: trunk/Source/WebCore/bindings/v8/custom/V8ElementCustom.cpp (134526 => 134527)
--- trunk/Source/WebCore/bindings/v8/custom/V8ElementCustom.cpp 2012-11-14 04:21:41 UTC (rev 134526)
+++ trunk/Source/WebCore/bindings/v8/custom/V8ElementCustom.cpp 2012-11-14 04:22:39 UTC (rev 134527)
@@ -33,7 +33,10 @@
#include "V8Element.h"
#include "V8HTMLElement.h"
+
+#if ENABLE(SVG)
#include "V8SVGElement.h"
+#endif
namespace WebCore {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes