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

Unified Diff: gm/bigtileimagefilter.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/bigrrectaaeffect.cpp ('k') | gm/bitmapcopy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/bigtileimagefilter.cpp
diff --git a/gm/bigtileimagefilter.cpp b/gm/bigtileimagefilter.cpp
index b74f62ce61d684ec24df0dc0f02845472a50f6ad..429ef1e877faf75c622ea0c9db808da4035b9a84 100644
--- a/gm/bigtileimagefilter.cpp
+++ b/gm/bigtileimagefilter.cpp
@@ -94,9 +94,9 @@ protected:
}
private:
- static const int kWidth = 512;
- static const int kHeight = 512;
- static const int kBitmapSize = 64;
+ static constexpr int kWidth = 512;
+ static constexpr int kHeight = 512;
+ static constexpr int kBitmapSize = 64;
sk_sp<SkImage> fRedImage;
sk_sp<SkImage> fGreenImage;
« no previous file with comments | « gm/bigrrectaaeffect.cpp ('k') | gm/bitmapcopy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698