Index: cc/trees/layer_tree_host_impl.h |
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
index 258c16177326522927bc933db7207bf002f07f60..d9bf19360d62ff57002e95d181ee8e3f40d88164 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -363,14 +363,14 @@ class CC_EXPORT LayerTreeHostImpl |
// Implementation. |
int id() const { return id_; } |
bool CanDraw() const; |
- OutputSurface* output_surface() const { return output_surface_.get(); } |
+ OutputSurface* output_surface() const { return output_surface_; } |
std::string LayerTreeAsJson() const; |
void FinishAllRendering(); |
int RequestedMSAASampleCount() const; |
- virtual bool InitializeRenderer(scoped_ptr<OutputSurface> output_surface); |
+ virtual bool InitializeRenderer(OutputSurface* output_surface); |
TileManager* tile_manager() { return tile_manager_.get(); } |
void SetHasGpuRasterizationTrigger(bool flag) { |
@@ -700,7 +700,7 @@ class CC_EXPORT LayerTreeHostImpl |
// request queue. |
std::set<UIResourceId> evicted_ui_resources_; |
- scoped_ptr<OutputSurface> output_surface_; |
+ OutputSurface* output_surface_; |
scoped_ptr<ResourceProvider> resource_provider_; |
bool content_is_suitable_for_gpu_rasterization_; |