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

Side by Side Diff: dm/DMUtil.cpp

Issue 22839016: Skeleton of DM (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: missed one 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #include "DMUtil.h"
2
3 namespace DM {
4
5 SkString underJoin(const char* a, const char* b) {
6 SkString s;
7 s.appendf("%s_%s", a, b);
8 return s;
9 }
10
11 SkString png(SkString s) {
12 s.appendf(".png");
13 return s;
14 }
15
16 bool meetsExpectations(const skiagm::Expectations& expectations,
17 const skiagm::GmResultDigest& digest) {
18 return expectations.ignoreFailure() || expectations.match(digest);
19 }
20
21 } // namespace DM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698