| Index: cc/trees/layer_tree_host_client.h
|
| diff --git a/cc/trees/layer_tree_host_client.h b/cc/trees/layer_tree_host_client.h
|
| index 5b02964e89f019c9f45798e7297c8b6380171dcf..10d47afd18ab59a783b1984f68526732db8056e6 100644
|
| --- a/cc/trees/layer_tree_host_client.h
|
| +++ b/cc/trees/layer_tree_host_client.h
|
| @@ -35,11 +35,12 @@ class LayerTreeHostClient {
|
| float page_scale,
|
| float top_controls_delta) = 0;
|
| // Request an OutputSurface from the client. When the client has one it should
|
| - // call LayerTreeHost::SetOutputSurface. If fallback is true, it should
|
| - // attempt to create an OutputSurface that is guaranteed to initialize
|
| - // correctly.
|
| - virtual void RequestNewOutputSurface(bool fallback) = 0;
|
| + // call LayerTreeHost::SetOutputSurface. This will result in either
|
| + // DidFailToInitializeOutputSurface or DidInitializeOutputSurface being
|
| + // called.
|
| + virtual void RequestNewOutputSurface() = 0;
|
| virtual void DidInitializeOutputSurface() = 0;
|
| + virtual void DidFailToInitializeOutputSurface() = 0;
|
| virtual void WillCommit() = 0;
|
| virtual void DidCommit() = 0;
|
| virtual void DidCommitAndDrawFrame() = 0;
|
| @@ -55,9 +56,6 @@ class LayerTreeHostClient {
|
| // a TextureLayer that calls SetRateLimitContext(true).
|
| virtual void RateLimitSharedMainThreadContext() {}
|
|
|
| - // This hook is for testing.
|
| - virtual void DidFailToInitializeOutputSurface() {}
|
| -
|
| protected:
|
| virtual ~LayerTreeHostClient() {}
|
| };
|
|
|