Index: ppapi/tests/test_graphics_2d.cc |
diff --git a/ppapi/tests/test_graphics_2d.cc b/ppapi/tests/test_graphics_2d.cc |
index 7f235d02bfcd256b69e67eeb600a70de95807f42..ad81f4fe3564c2ab77d94bf696725c7911a8fe5a 100644 |
--- a/ppapi/tests/test_graphics_2d.cc |
+++ b/ppapi/tests/test_graphics_2d.cc |
@@ -685,6 +685,7 @@ std::string TestGraphics2D::TestFlushOffscreenUpdate() { |
"big.setAttribute('style', 'height: ' + offset + '; width: 100%;');" |
"document.body.insertBefore(big, document.body.firstChild);"); |
ASSERT_TRUE(WaitUntilViewChanged()); |
+ ASSERT_SUBTEST_SUCCESS(FlushAndWaitForDone(&dc)); |
// Allocate a red image chunk |
pp::ImageData chunk(instance_, PP_IMAGEDATAFORMAT_RGBA_PREMUL, |