Index: testing/embedder_test.h |
diff --git a/testing/embedder_test.h b/testing/embedder_test.h |
index dc4ca0dc08c5f4f41577c617fecfea5a0185b947..cc0caec8f63b32c4b968a52abba61c4ada1068c5 100644 |
--- a/testing/embedder_test.h |
+++ b/testing/embedder_test.h |
@@ -105,6 +105,12 @@ class EmbedderTest : public ::testing::Test, |
// is prohibited after this call is made. |
virtual void UnloadPage(FPDF_PAGE page); |
+ // Check |bitmap| to make sure it has the right dimensions and content. |
+ static void CompareBitmap(FPDF_BITMAP bitmap, |
+ int expected_width, |
+ int expected_height, |
+ const char* expected_md5sum); |
+ |
protected: |
void SetupFormFillEnvironment(); |