Index: ppapi/tests/test_graphics_2d.h |
diff --git a/ppapi/tests/test_graphics_2d.h b/ppapi/tests/test_graphics_2d.h |
index 193aa446ecea6941f1c3a8b37cfa33535df471cf..6d350767d6a2936f5d0eaf977732a7d5e3c1efb9 100644 |
--- a/ppapi/tests/test_graphics_2d.h |
+++ b/ppapi/tests/test_graphics_2d.h |
@@ -66,6 +66,10 @@ class TestGraphics2D : public TestCase { |
// Validates that the given device context is filled with the given color. |
bool IsDCUniformColor(const pp::Graphics2D& dc, uint32_t color) const; |
+ // Returns true if Graphics2D resource is created correctly. |
+ bool ResourceHealthCheck(pp::Instance* instance, pp::Graphics2D* context); |
+ bool ResourceHealthCheckForC(pp::Instance* instance, PP_Resource graphics_2d); |
+ |
// Issues a flush on the given device context and blocks until the flush |
// has issued its callback. Returns true on success. |
bool FlushAndWaitForDone(pp::Graphics2D* context); |