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

Unified Diff: gm/gm_expectations.h

Issue 26297004: More work to integrate skimage with rebaseline tools. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Read and write using the same key. 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 | « no previous file | gm/gm_expectations.cpp » ('j') | tools/tests/skimage_self_test.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/gm_expectations.h
diff --git a/gm/gm_expectations.h b/gm/gm_expectations.h
index 401af0dab5aefa28fb9ed4760eb48c65909b99dc..5ff009e1677e30bb782a00ff4b486427920171e9 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);
scroggo 2013/10/16 23:10:51 For my use case, this could just take a digest. Ei
/**
* Create Expectations from a JSON element as found within the
« no previous file with comments | « no previous file | gm/gm_expectations.cpp » ('j') | tools/tests/skimage_self_test.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698