Chromium Code Reviews| Index: cc/trees/layer_tree_host_unittest.cc |
| diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc |
| index fdcc26ddf4168b598401d871cc19f66c7b6b63b4..1ffe1fedca56d649536c84db882af278082c19eb 100644 |
| --- a/cc/trees/layer_tree_host_unittest.cc |
| +++ b/cc/trees/layer_tree_host_unittest.cc |
| @@ -2120,7 +2120,11 @@ class LayerTreeHostTestAbortedCommitDoesntStallSynchronousCompositor |
| void CallOnDraw() { |
| // Synchronous compositor does not draw unless told to do so by the output |
| // surface. |
| - output_surface()->client()->OnDraw(); |
| + gfx::Transform identity; |
| + gfx::Rect empty_rect; |
| + bool resourceless_software_draw = false; |
| + output_surface()->client()->OnDraw(identity, empty_rect, empty_rect, |
| + resourceless_software_draw); |
| } |
| }; |
| @@ -2484,10 +2488,10 @@ class LayerTreeHostTestResourcelessSoftwareDraw : public LayerTreeHostTest { |
| case 1: { |
| gfx::Transform identity; |
| gfx::Rect empty_rect; |
| + host_impl->SetExternalTilePriorityConstraints(empty_rect, identity); |
|
boliu
2015/12/16 01:17:47
Also rewrote this test to not need this, but actua
|
| bool resourceless_software_draw = true; |
| - host_impl->SetExternalDrawConstraints(identity, empty_rect, empty_rect, |
| - empty_rect, identity, |
| - resourceless_software_draw); |
| + host_impl->SetResourcelessSoftwareDrawForTesting( |
| + resourceless_software_draw); |
| host_impl->SetFullRootLayerDamage(); |
| host_impl->SetNeedsRedraw(); |
| break; |