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

Side by Side Diff: dm/DMUtil.cpp

Issue 22839016: Skeleton of DM (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: more self review 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
« dm/DM.cpp ('K') | « dm/DMUtil.h ('k') | dm/README » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
19 || expectations.empty()
20 || expectations.match(digest);
21 }
22
23 } // namespace DM
OLDNEW
« dm/DM.cpp ('K') | « dm/DMUtil.h ('k') | dm/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698