| Index: cc/trees/layer_tree_host.h
|
| diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
|
| index 200451db7b735c5981982b3676ad48abeb9302fa..8b8802d58a6583968ae10194a1dd5a4b43211119 100644
|
| --- a/cc/trees/layer_tree_host.h
|
| +++ b/cc/trees/layer_tree_host.h
|
| @@ -145,7 +145,6 @@ class CC_EXPORT LayerTreeHost {
|
| virtual std::unique_ptr<LayerTreeHostImpl> CreateLayerTreeHostImpl(
|
| LayerTreeHostImplClient* client);
|
| void DidLoseOutputSurface();
|
| - bool output_surface_lost() const { return output_surface_lost_; }
|
| void DidCommitAndDrawFrame() { client_->DidCommitAndDrawFrame(); }
|
| void DidCompleteSwapBuffers() { client_->DidCompleteSwapBuffers(); }
|
| bool UpdateLayers();
|
| @@ -217,8 +216,6 @@ class CC_EXPORT LayerTreeHost {
|
| }
|
| AnimationHost* animation_host() const;
|
|
|
| - bool has_output_surface() const { return !!current_output_surface_; }
|
| -
|
| // CreateUIResource creates a resource given a bitmap. The bitmap is
|
| // generated via an interface function, which is called when initializing the
|
| // resource and when the resource has been lost (due to lost context). The
|
| @@ -327,9 +324,6 @@ class CC_EXPORT LayerTreeHost {
|
| std::unique_ptr<Proxy> proxy_for_testing,
|
| std::unique_ptr<BeginFrameSource> external_begin_frame_source);
|
| void InitializePictureCacheForTesting();
|
| - void SetOutputSurfaceLostForTesting(bool is_lost) {
|
| - output_surface_lost_ = is_lost;
|
| - }
|
| void SetTaskRunnerProviderForTesting(
|
| std::unique_ptr<TaskRunnerProvider> task_runner_provider);
|
|
|
| @@ -407,7 +401,6 @@ class CC_EXPORT LayerTreeHost {
|
| // |current_output_surface_|.
|
| std::unique_ptr<OutputSurface> new_output_surface_;
|
| std::unique_ptr<OutputSurface> current_output_surface_;
|
| - bool output_surface_lost_;
|
|
|
| const LayerTreeSettings settings_;
|
| LayerTreeDebugState debug_state_;
|
|
|