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

Unified Diff: gm/pathcontourstart.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/patchgrid.cpp ('k') | gm/patheffects.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/pathcontourstart.cpp
diff --git a/gm/pathcontourstart.cpp b/gm/pathcontourstart.cpp
index 56f6492eb14a8c008aa951d1b70cdab7a119b26f..0e85e3879673ffb263af192d14597e50a2431ff1 100644
--- a/gm/pathcontourstart.cpp
+++ b/gm/pathcontourstart.cpp
@@ -90,8 +90,8 @@ protected:
}
private:
- static const int kImageWidth = 1200;
- static const int kImageHeight = 600;
+ static constexpr int kImageWidth = 1200;
+ static constexpr int kImageHeight = 600;
SkPaint fDashPaint, fPointsPaint;
SkRect fRect;
« no previous file with comments | « gm/patchgrid.cpp ('k') | gm/patheffects.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698