summaryrefslogtreecommitdiffstats
path: root/webkit/api
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/api')
-rw-r--r--webkit/api/src/GraphicsContext3D.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/api/src/GraphicsContext3D.cpp b/webkit/api/src/GraphicsContext3D.cpp
index 1afe4f9..459a17e 100644
--- a/webkit/api/src/GraphicsContext3D.cpp
+++ b/webkit/api/src/GraphicsContext3D.cpp
@@ -947,6 +947,13 @@ void GraphicsContext3D::name(t1 a1, t2 a2, t3 a3, t4 a4, t5 a5, t6 a6, t7 a7, t8
makeContextCurrent(); gl##glname(a1,a2,a3,a4,a5,a6,a7,a8); \
}
+PassOwnPtr<GraphicsContext3D> GraphicsContext3D::create()
+{
+ PassOwnPtr<GraphicsContext3D> context = new GraphicsContext3D();
+ // FIXME: add error checking
+ return context;
+}
+
GraphicsContext3D::GraphicsContext3D()
: m_currentWidth(0)
, m_currentHeight(0)