1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // WARNING! This file is copied from third_party/skia/tools/skpdiff and slightly
6 // modified to be compilable outside Skia and suit chromium style. Some comments
8 // TODO(elizavetai): remove this file and reuse the original one in Skia
10 #include "base/compiler_specific.h"
11 #include "chrome/browser/chromeos/login/screenshot_testing/SkImageDiffer.h"
13 const double SkImageDiffer::RESULT_CORRECT
= 1.0f
;
14 const double SkImageDiffer::RESULT_INCORRECT
= 0.0f
;
16 SkImageDiffer::SkImageDiffer() {
19 SkImageDiffer::~SkImageDiffer() {
22 SkImageDiffer::Result::Result() {