summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm')
-rw-r--r--Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm b/Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm
index 21eb59d..aaa250b 100644
--- a/Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm
+++ b/Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm
@@ -25,7 +25,7 @@
#include "config.h"
-#if ENABLE(3D_CANVAS)
+#if ENABLE(WEBGL)
#include "GraphicsContext3D.h"
@@ -245,6 +245,10 @@ bool GraphicsContext3D::isGLES2Compliant() const
return false;
}
+void GraphicsContext3D::setContextLostCallback(PassOwnPtr<ContextLostCallback>)
+{
+}
+
}
-#endif // ENABLE(3D_CANVAS)
+#endif // ENABLE(WEBGL)