Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: tools/skpdiff/SkPMetric.h

Issue 1037793002: C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: git cl web Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/skpdiff/SkDifferentPixelsMetric.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPMetric_DEFINED 8 #ifndef SkPMetric_DEFINED
9 #define SkPMetric_DEFINED 9 #define SkPMetric_DEFINED
10 10
11 #include "SkTArray.h" 11 #include "SkTArray.h"
12 #include "SkTDArray.h" 12 #include "SkTDArray.h"
13 13
14 #include "SkImageDiffer.h" 14 #include "SkImageDiffer.h"
15 15
16 /** 16 /**
17 * An image differ that uses the pdiff image metric to compare images. 17 * An image differ that uses the pdiff image metric to compare images.
18 */ 18 */
19 class SkPMetric : public SkImageDiffer { 19 class SkPMetric : public SkImageDiffer {
20 public: 20 public:
21 const char* getName() const SK_OVERRIDE { return "perceptual"; } 21 const char* getName() const override { return "perceptual"; }
22 virtual bool diff(SkBitmap* baseline, SkBitmap* test, const BitmapsToCreate& bitmapsToCreate, 22 virtual bool diff(SkBitmap* baseline, SkBitmap* test, const BitmapsToCreate& bitmapsToCreate,
23 Result* result) const SK_OVERRIDE; 23 Result* result) const override;
24 24
25 private: 25 private:
26 typedef SkImageDiffer INHERITED; 26 typedef SkImageDiffer INHERITED;
27 }; 27 };
28 28
29 29
30 #endif 30 #endif
OLDNEW
« no previous file with comments | « tools/skpdiff/SkDifferentPixelsMetric.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698