fix broken build on mac due to compiler warning

R=epoger@google.com

Review URL: https://codereview.chromium.org/64423004

git-svn-id: http://skia.googlecode.com/svn/trunk@12175 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
djsollen@google.com 2013-11-07 19:40:35 +00:00
parent 513a7bffd3
commit 2761b30dfe
2 changed files with 4 additions and 2 deletions

View File

@ -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) {

View File

@ -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