Index: webkit/api/src/GraphicsContext3D.cpp |
=================================================================== |
--- webkit/api/src/GraphicsContext3D.cpp (revision 30284) |
+++ webkit/api/src/GraphicsContext3D.cpp (working copy) |
@@ -947,6 +947,13 @@ |
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) |