Title: [224856] trunk/Source/WebCore
Revision
224856
Author
achristen...@apple.com
Date
2017-11-14 15:49:24 -0800 (Tue, 14 Nov 2017)

Log Message

Fix Windows build.

* html/canvas/WebGLRenderingContext.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (224855 => 224856)


--- trunk/Source/WebCore/ChangeLog	2017-11-14 23:42:47 UTC (rev 224855)
+++ trunk/Source/WebCore/ChangeLog	2017-11-14 23:49:24 UTC (rev 224856)
@@ -1,3 +1,9 @@
+2017-11-14  Alex Christensen  <achristen...@webkit.org>
+
+        Fix Windows build.
+
+        * html/canvas/WebGLRenderingContext.h:
+
 2017-11-14  Michael Catanzaro  <mcatanz...@igalia.com>
 
         Unreviewed, fix GTK/WPE debug builds even better after r224813

Modified: trunk/Source/WebCore/html/canvas/WebGLRenderingContext.h (224855 => 224856)


--- trunk/Source/WebCore/html/canvas/WebGLRenderingContext.h	2017-11-14 23:42:47 UTC (rev 224855)
+++ trunk/Source/WebCore/html/canvas/WebGLRenderingContext.h	2017-11-14 23:49:24 UTC (rev 224856)
@@ -29,6 +29,8 @@
 
 namespace WebCore {
 
+#if ENABLE(WEBGL)
+
 class WebGLRenderingContext final : public WebGLRenderingContextBase {
 public:
     WebGLRenderingContext(HTMLCanvasElement&, GraphicsContext3DAttributes);
@@ -53,7 +55,9 @@
     bool validateBlendEquation(const char* functionName, GC3Denum mode) final;
     bool validateCapability(const char* functionName, GC3Denum cap) final;
 };
-    
+
+#endif
+
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_CANVASRENDERINGCONTEXT(WebCore::WebGLRenderingContext, isWebGL1())
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to