Index: cc/trees/layer_tree_host_unittest_delegated.cc |
diff --git a/cc/trees/layer_tree_host_unittest_delegated.cc b/cc/trees/layer_tree_host_unittest_delegated.cc |
index a45d01c3a9cf672604b49385ce550d24338daeb8..9d4278a47d87206467250534523695f28ed70b30 100644 |
--- a/cc/trees/layer_tree_host_unittest_delegated.cc |
+++ b/cc/trees/layer_tree_host_unittest_delegated.cc |
@@ -342,9 +342,10 @@ class LayerTreeHostDelegatedTestCreateChildId |
EXPECT_TRUE(delegated_impl->ChildId()); |
EXPECT_FALSE(did_reset_child_id_); |
- context_provider->Context3d()->loseContextCHROMIUM( |
+ context_provider->ContextGL()->LoseContextCHROMIUM( |
GL_GUILTY_CONTEXT_RESET_ARB, |
GL_INNOCENT_CONTEXT_RESET_ARB); |
+ context_provider->ContextGL()->Flush(); |
break; |
case 3: |
EXPECT_TRUE(delegated_impl->ChildId()); |
@@ -419,7 +420,7 @@ class LayerTreeHostDelegatedTestInvalidFrameAfterContextLost |
++num_activates_; |
switch (num_activates_) { |
case 2: |
- context_provider->Context3d()->loseContextCHROMIUM( |
+ context_provider->ContextGL()->LoseContextCHROMIUM( |
GL_GUILTY_CONTEXT_RESET_ARB, |
GL_INNOCENT_CONTEXT_RESET_ARB); |
break; |