Title: [183639] trunk/Source/WebCore
Revision
183639
Author
bfulg...@apple.com
Date
2015-04-30 12:04:36 -0700 (Thu, 30 Apr 2015)

Log Message

[Win] Allow WebKit to build without ANGLE support
https://bugs.webkit.org/show_bug.cgi?id=144459
<rdar://problem/20707307>

Reviewed by Dean Jackson.

* platform/graphics/GLContext.cpp: Use the ENABLE(GRAPHICS_CONTEXT_3D)
macro to avoid compiling this code if not using WEBGL/3D contexts.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (183638 => 183639)


--- trunk/Source/WebCore/ChangeLog	2015-04-30 18:54:02 UTC (rev 183638)
+++ trunk/Source/WebCore/ChangeLog	2015-04-30 19:04:36 UTC (rev 183639)
@@ -1,3 +1,14 @@
+2015-04-30  Brent Fulgham  <bfulg...@apple.com>
+
+        [Win] Allow WebKit to build without ANGLE support
+        https://bugs.webkit.org/show_bug.cgi?id=144459
+        <rdar://problem/20707307>
+
+        Reviewed by Dean Jackson.
+
+        * platform/graphics/GLContext.cpp: Use the ENABLE(GRAPHICS_CONTEXT_3D)
+        macro to avoid compiling this code if not using WEBGL/3D contexts.
+
 2015-04-29  David Hyatt  <hy...@apple.com>
 
         Avoid containingBlock() calls when no writing mode flipping is needed.

Modified: trunk/Source/WebCore/platform/graphics/GLContext.cpp (183638 => 183639)


--- trunk/Source/WebCore/platform/graphics/GLContext.cpp	2015-04-30 18:54:02 UTC (rev 183638)
+++ trunk/Source/WebCore/platform/graphics/GLContext.cpp	2015-04-30 19:04:36 UTC (rev 183639)
@@ -17,6 +17,9 @@
  */
 
 #include "config.h"
+
+#if ENABLE(GRAPHICS_CONTEXT_3D)
+
 #include "GLContext.h"
 
 #if USE(EGL)
@@ -197,4 +200,4 @@
 
 } // namespace WebCore
 
-
+#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to