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

Unified Diff: gm/textblobcolortrans.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/textblobblockreordering.cpp ('k') | gm/textblobgeometrychange.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/textblobcolortrans.cpp
diff --git a/gm/textblobcolortrans.cpp b/gm/textblobcolortrans.cpp
index 0e4e0ff98ba8a55c7db7933e4dd89fa801d956da..1e7a66667a076288c46bc66e0e89a6e5102ef325 100644
--- a/gm/textblobcolortrans.cpp
+++ b/gm/textblobcolortrans.cpp
@@ -89,8 +89,8 @@ protected:
private:
SkAutoTUnref<const SkTextBlob> fBlob;
- static const int kWidth = 675;
- static const int kHeight = 1600;
+ static constexpr int kWidth = 675;
+ static constexpr int kHeight = 1600;
typedef GM INHERITED;
};
« no previous file with comments | « gm/textblobblockreordering.cpp ('k') | gm/textblobgeometrychange.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698