Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / chromeos / login / screenshot_testing / SkImageDiffer.cpp
blob94b0f7d00cde283929807e230a63cf5e7004884c
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
7 // can make no sense.
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() {