Index: webkit/glue/webkitplatformsupport_impl.cc |
diff --git a/webkit/glue/webkitplatformsupport_impl.cc b/webkit/glue/webkitplatformsupport_impl.cc |
index 91280b10af4d6464b9d3b87902fae3a2a2e0db91..26064fb27e412d960a06f4a1f70f03236275a106 100644 |
--- a/webkit/glue/webkitplatformsupport_impl.cc |
+++ b/webkit/glue/webkitplatformsupport_impl.cc |
@@ -569,6 +569,24 @@ WebKit::WebThread* WebKitPlatformSupportImpl::currentThread() { |
return thread; |
} |
+WebKit::WebGraphicsContext3D* |
+WebKitPlatformSupportImpl::createGraphicsContext3D() { |
+ return WebKitPlatformSupport::createGraphicsContext3D(); |
+} |
+ |
+WebKit::WebGraphicsContext3D* |
+WebKitPlatformSupportImpl::createGraphicsContext3D( |
+ WebKit::WebGraphicsContext3D::Attributes attributes, |
+ WebKit::WebView* web_view, |
+ bool render_to_web_view) { |
+ scoped_ptr<WebKit::WebGraphicsContext3D> context(createGraphicsContext3D()); |
+ if (!context.get() || |
+ !context->initialize(attributes, web_view, render_to_web_view)) { |
+ return NULL; |
+ } |
+ return context.release(); |
+} |
+ |
base::PlatformFile WebKitPlatformSupportImpl::databaseOpenFile( |
const WebKit::WebString& vfs_file_name, int desired_flags) { |
return base::kInvalidPlatformFileValue; |