diff options
-rw-r--r-- | tools/skpdiff/SkImageDiffer.cpp | 2 | ||||
-rw-r--r-- | tools/skpdiff/SkImageDiffer.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/skpdiff/SkImageDiffer.cpp b/tools/skpdiff/SkImageDiffer.cpp index 8a5c3c71a2..40a34da6b1 100644 --- a/tools/skpdiff/SkImageDiffer.cpp +++ b/tools/skpdiff/SkImageDiffer.cpp @@ -11,6 +11,8 @@ #include "SkImageDiffer.h" #include "skpdiff_util.h" +const double SkImageDiffer::RESULT_CORRECT = 1.0f; +const double SkImageDiffer::RESULT_INCORRECT = 0.0f; SkImageDiffer::SkImageDiffer() : fIsGood(true) { diff --git a/tools/skpdiff/SkImageDiffer.h b/tools/skpdiff/SkImageDiffer.h index 3b50d5775d..2c1fa7e788 100644 --- a/tools/skpdiff/SkImageDiffer.h +++ b/tools/skpdiff/SkImageDiffer.h @@ -19,8 +19,8 @@ public: SkImageDiffer(); virtual ~SkImageDiffer(); - static const double RESULT_CORRECT = 1.0f; - static const double RESULT_INCORRECT = 0.0f; + static const double RESULT_CORRECT; + static const double RESULT_INCORRECT; /** * Gets a unique and descriptive name of this differ |