Title: [212164] trunk/Source/WebCore
Revision
212164
Author
o...@webkit.org
Date
2017-02-10 16:12:41 -0800 (Fri, 10 Feb 2017)

Log Message

Fix the !ENABLE(WEBGL) build
https://bugs.webkit.org/show_bug.cgi?id=168112

Reviewed by Alex Christensen.

* html/canvas/WebGLRenderingContextBase.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (212163 => 212164)


--- trunk/Source/WebCore/ChangeLog	2017-02-10 23:55:14 UTC (rev 212163)
+++ trunk/Source/WebCore/ChangeLog	2017-02-11 00:12:41 UTC (rev 212164)
@@ -1,3 +1,12 @@
+2017-02-10  Csaba Osztrogonác  <o...@webkit.org>
+
+        Fix the !ENABLE(WEBGL) build
+        https://bugs.webkit.org/show_bug.cgi?id=168112
+
+        Reviewed by Alex Christensen.
+
+        * html/canvas/WebGLRenderingContextBase.h:
+
 2017-02-10  Youenn Fablet  <you...@apple.com>
 
         [Fetch API] fetch fails when undefined is passed as headers

Modified: trunk/Source/WebCore/html/canvas/WebGLRenderingContextBase.h (212163 => 212164)


--- trunk/Source/WebCore/html/canvas/WebGLRenderingContextBase.h	2017-02-10 23:55:14 UTC (rev 212163)
+++ trunk/Source/WebCore/html/canvas/WebGLRenderingContextBase.h	2017-02-11 00:12:41 UTC (rev 212164)
@@ -25,6 +25,8 @@
 
 #pragma once
 
+#if ENABLE(WEBGL)
+
 #include "ActiveDOMObject.h"
 #include "CanvasRenderingContext.h"
 #include "GraphicsContext3D.h"
@@ -836,3 +838,5 @@
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_CANVASRENDERINGCONTEXT(WebCore::WebGLRenderingContextBase, is3d())
+
+#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to