Index: webkit/support/test_webkit_platform_support.h |
diff --git a/webkit/support/test_webkit_platform_support.h b/webkit/support/test_webkit_platform_support.h |
index a087d0ac9264818662ebe0e389f8685dd3381ec5..fc7a673c7d37cbf8b537efe50ce40d258d49b6bd 100644 |
--- a/webkit/support/test_webkit_platform_support.h |
+++ b/webkit/support/test_webkit_platform_support.h |
@@ -22,6 +22,10 @@ |
class TestShellWebBlobRegistryImpl; |
+namespace cc { |
+class ContextProvider; |
+} |
+ |
namespace WebKit { |
class WebAudioDevice; |
class WebLayerTreeView; |
@@ -84,6 +88,8 @@ class TestWebKitPlatformSupport : |
virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
const WebKit::WebGraphicsContext3D::Attributes&); |
+ virtual WebKit::WebGraphicsContext3D* sharedOffscreenGraphicsContext3D(); |
+ virtual GrContext* sharedOffscreenGrContext(); |
virtual bool canAccelerate2dCanvas(); |
WebURLLoaderMockFactory* url_loader_factory() { |
@@ -176,6 +182,8 @@ class TestWebKitPlatformSupport : |
WebKit::Platform* shadow_platform_delegate_; |
HyphenDict* hyphen_dictionary_; |
+ scoped_refptr<cc::ContextProvider> main_thread_contexts_; |
+ |
#if defined(OS_WIN) || defined(OS_MACOSX) |
WebKit::WebThemeEngine* active_theme_engine_; |
#endif |