Index: webkit/common/gpu/context_provider_in_process.h |
diff --git a/webkit/common/gpu/context_provider_in_process.h b/webkit/common/gpu/context_provider_in_process.h |
index c86369781b510f57edc368616e1187d79018fd1d..b87fc9116803971bf9cec771805fcdf81e619e6b 100644 |
--- a/webkit/common/gpu/context_provider_in_process.h |
+++ b/webkit/common/gpu/context_provider_in_process.h |
@@ -9,9 +9,12 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/synchronization/lock.h" |
#include "cc/output/context_provider.h" |
-#include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" |
#include "webkit/common/gpu/webkit_gpu_export.h" |
+namespace WebKit { |
+class WebGraphicsContext3D; |
+} |
+ |
namespace webkit { |
namespace gpu { |
class GrContextForWebGraphicsContext3D; |
@@ -44,8 +47,7 @@ class WEBKIT_GPU_EXPORT ContextProviderInProcess |
virtual void OnMemoryAllocationChanged(bool nonzero_allocation); |
private: |
- scoped_ptr<webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl> |
- context3d_; |
+ scoped_ptr<WebKit::WebGraphicsContext3D> context3d_; |
scoped_ptr<webkit::gpu::GrContextForWebGraphicsContext3D> gr_context_; |
base::Lock destroyed_lock_; |