Index: webkit/tools/test_shell/test_shell_webkit_init.h |
=================================================================== |
--- webkit/tools/test_shell/test_shell_webkit_init.h (revision 42776) |
+++ webkit/tools/test_shell/test_shell_webkit_init.h (working copy) |
@@ -13,6 +13,7 @@ |
#include "media/base/media.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebData.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebDatabase.h" |
+#include "third_party/WebKit/WebKit/chromium/public/WebGraphicsContext3D.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebRuntimeFeatures.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebKit.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebScriptController.h" |
@@ -233,6 +234,10 @@ |
return NULL; |
} |
+ virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D() { |
+ return WebKit::WebGraphicsContext3D::createDefault(); |
+ } |
+ |
private: |
webkit_glue::SimpleWebMimeRegistryImpl mime_registry_; |
MockWebClipboardImpl mock_clipboard_; |