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

Unified Diff: third_party/WebKit/Source/platform/exported/WebCryptoAlgorithm.cpp

Issue 2942273002: Avoid some static initializers in Windows builds (Closed)
Patch Set: Use constexpr [] instead of constexpr const * Created 3 years, 6 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
Index: third_party/WebKit/Source/platform/exported/WebCryptoAlgorithm.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebCryptoAlgorithm.cpp b/third_party/WebKit/Source/platform/exported/WebCryptoAlgorithm.cpp
index 15361991f96037432de3f2ba6e41177a1f0e1d20..5c50e4a0d5bf9ac49574604b6bed1e75e5ac4441 100644
--- a/third_party/WebKit/Source/platform/exported/WebCryptoAlgorithm.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebCryptoAlgorithm.cpp
@@ -42,7 +42,7 @@ namespace blink {
namespace {
// A mapping from the algorithm ID to information about the algorithm.
-const WebCryptoAlgorithmInfo kAlgorithmIdToInfo[] = {
+constexpr WebCryptoAlgorithmInfo kAlgorithmIdToInfo[] = {
{// Index 0
"AES-CBC",
{

Powered by Google App Engine
This is Rietveld 408576698