Index: cc/trees/layer_tree_host_in_process.h |
diff --git a/cc/trees/layer_tree_host_in_process.h b/cc/trees/layer_tree_host_in_process.h |
index 805fb5913d411570ae0e3b6bff074234b92de12f..f32554d3fe81284e078768932f5c96c3d2386465 100644 |
--- a/cc/trees/layer_tree_host_in_process.h |
+++ b/cc/trees/layer_tree_host_in_process.h |
@@ -45,10 +45,6 @@ |
#include "third_party/skia/include/core/SkColor.h" |
#include "ui/gfx/geometry/rect.h" |
-namespace gpu { |
-class GpuMemoryBufferManager; |
-} // namespace gpu |
- |
namespace cc { |
class AnimationHost; |
class AnimationEvents; |
@@ -69,7 +65,6 @@ class RemoteProtoChannel; |
class RenderingStatsInstrumentation; |
class ResourceProvider; |
class ResourceUpdateQueue; |
-class SharedBitmapManager; |
class TaskGraphRunner; |
class TopControlsManager; |
struct PendingPageScaleAnimation; |
@@ -86,8 +81,6 @@ class CC_EXPORT LayerTreeHostInProcess : public LayerTreeHost { |
// std::move()d to the Create* functions. |
struct CC_EXPORT InitParams { |
LayerTreeHostClient* client = nullptr; |
- SharedBitmapManager* shared_bitmap_manager = nullptr; |
- gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager = nullptr; |
TaskGraphRunner* task_graph_runner = nullptr; |
LayerTreeSettings const* settings = nullptr; |
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner; |
@@ -98,7 +91,6 @@ class CC_EXPORT LayerTreeHostInProcess : public LayerTreeHost { |
~InitParams(); |
}; |
- // The SharedBitmapManager will be used on the compositor thread. |
static std::unique_ptr<LayerTreeHostInProcess> CreateThreaded( |
scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner, |
InitParams* params); |
@@ -276,15 +268,8 @@ class CC_EXPORT LayerTreeHostInProcess : public LayerTreeHost { |
void SetUIResourceManagerForTesting( |
std::unique_ptr<UIResourceManager> ui_resource_manager); |
- // shared_bitmap_manager(), gpu_memory_buffer_manager(), and |
- // task_graph_runner() return valid values only until the LayerTreeHostImpl is |
- // created in CreateLayerTreeHostImpl(). |
- SharedBitmapManager* shared_bitmap_manager() const { |
- return shared_bitmap_manager_; |
- } |
- gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager() const { |
- return gpu_memory_buffer_manager_; |
- } |
+ // task_graph_runner() returns a valid value only until the LayerTreeHostImpl |
+ // is created in CreateLayerTreeHostImpl(). |
TaskGraphRunner* task_graph_runner() const { return task_graph_runner_; } |
void OnCommitForSwapPromises(); |
@@ -356,8 +341,6 @@ class CC_EXPORT LayerTreeHostInProcess : public LayerTreeHost { |
bool next_commit_forces_redraw_ = false; |
bool next_commit_forces_recalculate_raster_scales_ = false; |
- SharedBitmapManager* shared_bitmap_manager_; |
- gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; |
TaskGraphRunner* task_graph_runner_; |
ImageSerializationProcessor* image_serialization_processor_; |