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

Unified Diff: gm/nested.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/multipicturedraw.cpp ('k') | gm/nonclosedpaths.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/nested.cpp
diff --git a/gm/nested.cpp b/gm/nested.cpp
index d3b75b370ba41ef9c2a3b97408be4e89cd713168..0b3cf19fb036a3be4f481f94080579a5e0598aa7 100644
--- a/gm/nested.cpp
+++ b/gm/nested.cpp
@@ -123,8 +123,8 @@ protected:
}
private:
- static const int kImageWidth = 269;
- static const int kImageHeight = 134;
+ static constexpr int kImageWidth = 269;
+ static constexpr int kImageHeight = 134;
bool fDoAA;
bool fFlipped;
« no previous file with comments | « gm/multipicturedraw.cpp ('k') | gm/nonclosedpaths.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698