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 696c8d9222330cef093149b74d58e45a12158c90..4d788a3f5564d17a6015e5bd2410c645c0e9d7c3 100644 |
--- a/cc/trees/layer_tree_host_unittest.cc |
+++ b/cc/trees/layer_tree_host_unittest.cc |
@@ -2102,7 +2102,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); |
} |
}; |
@@ -2462,10 +2466,10 @@ class LayerTreeHostTestResourcelessSoftwareDraw : public LayerTreeHostTest { |
case 1: { |
gfx::Transform identity; |
gfx::Rect empty_rect; |
+ host_impl->SetExternalDrawConstraints(empty_rect, identity); |
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; |