Index: tools/skpdiff/SkImageDiffer.cpp |
diff --git a/tools/skpdiff/SkImageDiffer.cpp b/tools/skpdiff/SkImageDiffer.cpp |
index 40a34da6b13443f6dbebca48887bba1f9cec63ab..215a79989576e3ac5d2edcf2dd5e1e4aeb9c7d1a 100644 |
--- a/tools/skpdiff/SkImageDiffer.cpp |
+++ b/tools/skpdiff/SkImageDiffer.cpp |
@@ -14,25 +14,10 @@ |
const double SkImageDiffer::RESULT_CORRECT = 1.0f; |
const double SkImageDiffer::RESULT_INCORRECT = 0.0f; |
mtklein
2013/11/12 17:00:20
At this point you van probably just get rid of thi
|
-SkImageDiffer::SkImageDiffer() |
- : fIsGood(true) { |
+SkImageDiffer::SkImageDiffer() { |
} |
SkImageDiffer::~SkImageDiffer() { |
} |
- |
-int SkImageDiffer::queueDiffOfFile(const char baseline[], const char test[]) { |
- SkBitmap baselineBitmap; |
- SkBitmap testBitmap; |
- if (!SkImageDecoder::DecodeFile(baseline, &baselineBitmap)) { |
- SkDebugf("Failed to load bitmap \"%s\"\n", baseline); |
- return -1; |
- } |
- if (!SkImageDecoder::DecodeFile(test, &testBitmap)) { |
- SkDebugf("Failed to load bitmap \"%s\"\n", test); |
- return -1; |
- } |
- return this->queueDiff(&baselineBitmap, &testBitmap); |
-} |