| Index: gm/gm_expectations.cpp
|
| diff --git a/gm/gm_expectations.cpp b/gm/gm_expectations.cpp
|
| index 828e9f8b97f84a7e9dc656aba7e4f1bb54ddd2f8..8f04c28e5c85559ae4eee3f99fe244aca8d9c9ab 100644
|
| --- a/gm/gm_expectations.cpp
|
| +++ b/gm/gm_expectations.cpp
|
| @@ -141,6 +141,12 @@ namespace skiagm {
|
| fAllowedResultDigests.push_back(GmResultDigest(bitmap));
|
| }
|
|
|
| + Expectations::Expectations(const BitmapAndDigest& bitmapAndDigest) {
|
| + fBitmap = bitmapAndDigest.fBitmap;
|
| + fIgnoreFailure = false;
|
| + fAllowedResultDigests.push_back(bitmapAndDigest.fDigest);
|
| + }
|
| +
|
| Expectations::Expectations(Json::Value jsonElement) {
|
| if (jsonElement.empty()) {
|
| fIgnoreFailure = kDefaultIgnoreFailure;
|
|
|