Index: webkit/support/webkit_support.cc |
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc |
index 788d2147b85f199e88b461730c65c6c9ca957536..2eebd8c20bb4e89117c3ca12808dd0aa1abcdadd 100644 |
--- a/webkit/support/webkit_support.cc |
+++ b/webkit/support/webkit_support.cc |
@@ -58,6 +58,7 @@ |
#include "webkit/glue/webkit_glue.h" |
#include "webkit/glue/webkitplatformsupport_impl.h" |
#include "webkit/glue/weburlrequest_extradata_impl.h" |
+#include "webkit/gpu/test_context_provider_factory.h" |
#include "webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" |
#include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" |
#if defined(OS_ANDROID) |
@@ -491,6 +492,8 @@ void SetUpGLBindings(GLBindingPreferences bindingPref) { |
default: |
NOTREACHED(); |
} |
+ webkit::gpu::TestContextProviderFactory::SetUpFactoryForTesting( |
+ g_graphics_context_3d_implementation); |
} |
void SetGraphicsContext3DImplementation(GraphicsContext3DImplementation impl) { |