diff options
Diffstat (limited to 'gm/gm_expectations.h')
-rw-r--r-- | gm/gm_expectations.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gm/gm_expectations.h b/gm/gm_expectations.h index 401af0dab5..5ff009e167 100644 --- a/gm/gm_expectations.h +++ b/gm/gm_expectations.h @@ -116,7 +116,12 @@ namespace skiagm { * Expect exactly one image (appropriate for the case when we * are comparing against a single PNG file). */ - Expectations(const SkBitmap& bitmap, bool ignoreFailure=kDefaultIgnoreFailure); + explicit Expectations(const SkBitmap& bitmap, bool ignoreFailure=kDefaultIgnoreFailure); + + /** + * Expect exactly one image, whose digest has already been computed. + */ + explicit Expectations(const BitmapAndDigest& bitmapAndDigest); /** * Create Expectations from a JSON element as found within the |