Index: gm/gm_expectations.cpp |
=================================================================== |
--- gm/gm_expectations.cpp (revision 9067) |
+++ gm/gm_expectations.cpp (working copy) |
@@ -165,7 +165,9 @@ |
} |
Expectations JsonExpectationsSource::get(const char *testName) { |
- return Expectations(fJsonExpectedResults[testName]); |
+ SkString testNameWithExtension(testName); |
+ testNameWithExtension.append(".png"); |
epoger
2013/05/08 19:45:08
Patchset 2 adds ".png" extension to the lines in t
|
+ return Expectations(fJsonExpectedResults[testNameWithExtension.c_str()]); |
} |
/*static*/ SkData* JsonExpectationsSource::readIntoSkData(SkStream &stream, size_t maxBytes) { |