Index: webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h |
diff --git a/webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h b/webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h |
index 8b9c24ceadf85eb8017fafd3dd9318aaafb9ea96..f17a6d236905c852e27e91c111d713a6f32afb6c 100644 |
--- a/webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h |
+++ b/webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h |
@@ -22,13 +22,8 @@ class WebLayer; |
class WebLayerTreeViewImplForTesting : public WebKit::WebLayerTreeView, |
public cc::LayerTreeHostClient { |
public: |
- enum RenderingType { |
- FAKE_CONTEXT, |
- SOFTWARE_CONTEXT, |
- MESA_CONTEXT |
- }; |
WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebLayerTreeViewImplForTesting( |
- RenderingType type, |
+ webkit_support::LayerTreeViewType type, |
webkit_support::DRTLayerTreeViewClient* client); |
virtual ~WebLayerTreeViewImplForTesting(); |
@@ -87,7 +82,7 @@ class WebLayerTreeViewImplForTesting : public WebKit::WebLayerTreeView, |
OffscreenContextProviderForCompositorThread() OVERRIDE; |
private: |
- RenderingType type_; |
+ webkit_support::LayerTreeViewType type_; |
webkit_support::DRTLayerTreeViewClient* client_; |
scoped_ptr<cc::LayerTreeHost> layer_tree_host_; |
}; |