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

Unified Diff: cc/test/pixel_comparator.h

Issue 2710593003: cc: Fix const value pattern by replacing it by non-const or reference. (Closed)
Patch Set: update rebase Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/tiles/prioritized_tile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/pixel_comparator.h
diff --git a/cc/test/pixel_comparator.h b/cc/test/pixel_comparator.h
index 72288583ef2ecee2928f92d81faede8d035114dd..c711673921677abfab6c0d2455f3c516f90392f5 100644
--- a/cc/test/pixel_comparator.h
+++ b/cc/test/pixel_comparator.h
@@ -40,12 +40,12 @@ class ExactPixelComparator : public PixelComparator {
// computes average and maximum absolute errors per color channel.
class FuzzyPixelComparator : public PixelComparator {
public:
- FuzzyPixelComparator(const bool discard_alpha,
- const float error_pixels_percentage_limit,
- const float small_error_pixels_percentage_limit,
- const float avg_abs_error_limit,
- const int max_abs_error_limit,
- const int small_error_threshold);
+ FuzzyPixelComparator(bool discard_alpha,
+ float error_pixels_percentage_limit,
+ float small_error_pixels_percentage_limit,
+ float avg_abs_error_limit,
+ int max_abs_error_limit,
+ int small_error_threshold);
~FuzzyPixelComparator() override {}
// Computes error metrics and returns true if the errors don't exceed the
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/tiles/prioritized_tile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698