Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / cc / test / pixel_comparator.h
index 0f24da0..7228858 100644 (file)
@@ -23,13 +23,13 @@ class PixelComparator {
 class ExactPixelComparator : public PixelComparator {
  public:
   explicit ExactPixelComparator(const bool discard_alpha);
-  virtual ~ExactPixelComparator() {}
+  ~ExactPixelComparator() override {}
 
   // Returns true if the two bitmaps are identical. Otherwise, returns false
   // and report the number of pixels with an error on LOG(ERROR). Differences
   // in the alpha channel are ignored.
-  virtual bool Compare(const SkBitmap& actual_bmp,
-                       const SkBitmap& expected_bmp) const OVERRIDE;
+  bool Compare(const SkBitmap& actual_bmp,
+               const SkBitmap& expected_bmp) const override;
 
  private:
   // Exclude alpha channel from comparison?
@@ -46,13 +46,13 @@ class FuzzyPixelComparator : public PixelComparator {
                        const float avg_abs_error_limit,
                        const int max_abs_error_limit,
                        const int small_error_threshold);
-  virtual ~FuzzyPixelComparator() {}
+  ~FuzzyPixelComparator() override {}
 
   // Computes error metrics and returns true if the errors don't exceed the
   // specified limits. Otherwise, returns false and reports the error metrics on
   // LOG(ERROR). Differences in the alpha channel are ignored.
-  virtual bool Compare(const SkBitmap& actual_bmp,
-                       const SkBitmap& expected_bmp) const OVERRIDE;
+  bool Compare(const SkBitmap& actual_bmp,
+               const SkBitmap& expected_bmp) const override;
 
  private:
   // Exclude alpha channel from comparison?