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

Unified Diff: gm/gammacolorfilter.cpp

Issue 2300623005: Replace a lot of 'static const' with 'constexpr' or 'const'. (Closed)
Patch Set: small msvc concession Created 4 years, 3 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 | « gm/fontmgr.cpp ('k') | gm/glyph_pos.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/gammacolorfilter.cpp
diff --git a/gm/gammacolorfilter.cpp b/gm/gammacolorfilter.cpp
index ecb2daa2147a50f289f53bdad896fe343e7c3f66..f5e6542062a335b22bec140ddfcba0e05bb19167 100644
--- a/gm/gammacolorfilter.cpp
+++ b/gm/gammacolorfilter.cpp
@@ -88,9 +88,9 @@ protected:
}
private:
- static const int kCellWidth = 64;
- static const int kCellHeight = 64;
- static const int kNumGreySteps = 16;
+ static constexpr int kCellWidth = 64;
+ static constexpr int kCellHeight = 64;
+ static constexpr int kNumGreySteps = 16;
typedef GM INHERITED;
};
« no previous file with comments | « gm/fontmgr.cpp ('k') | gm/glyph_pos.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698