Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(879)

Unified Diff: gm/gm_expectations.cpp

Issue 26297004: More work to integrate skimage with rebaseline tools. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Rebase Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/gm_expectations.h ('k') | tools/rebaseline.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « gm/gm_expectations.h ('k') | tools/rebaseline.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698