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/inversepaths.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/imagetoyuvplanes.cpp ('k') | gm/largeglyphblur.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/inversepaths.cpp
diff --git a/gm/inversepaths.cpp b/gm/inversepaths.cpp
index 6eb054e22aa6581142454ee537fad7fdc5f6c6b8..9a247e8192a5e59c01c2bf88526b162e86773ea8 100644
--- a/gm/inversepaths.cpp
+++ b/gm/inversepaths.cpp
@@ -47,7 +47,7 @@ struct Style {
};
sk_sp<SkPathEffect> make_dash() {
- static constexpr SkScalar kIntervals[] = { 4.f, 3.f };
+ constexpr SkScalar kIntervals[] = { 4.f, 3.f };
return SkDashPathEffect::Make(kIntervals, SK_ARRAY_COUNT(kIntervals), 0);
}
« no previous file with comments | « gm/imagetoyuvplanes.cpp ('k') | gm/largeglyphblur.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698