| 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 5846343cef59e1501b4b36f3c08f239b2f1ecf01..a09693f5d67a6771fa17ee47d0d20db0d00c79b5 100644
|
| --- a/cc/trees/layer_tree_host_client.h
|
| +++ b/cc/trees/layer_tree_host_client.h
|
| @@ -38,11 +38,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;
|
| @@ -58,9 +59,6 @@ class LayerTreeHostClient {
|
| // a TextureLayer that calls SetRateLimitContext(true).
|
| virtual void RateLimitSharedMainThreadContext() {}
|
|
|
| - // This hook is for testing.
|
| - virtual void DidFailToInitializeOutputSurface() {}
|
| -
|
| protected:
|
| virtual ~LayerTreeHostClient() {}
|
| };
|
|
|