Index: chrome/app/vector_icons/vector_icons.cc.template |
diff --git a/chrome/app/vector_icons/vector_icons.cc.template b/chrome/app/vector_icons/vector_icons.cc.template |
index 5c5155e136d7df3258c372ce366ac055401e9686..577bf8563ed4af83349482c2c03a2aa36a92a065 100644 |
--- a/chrome/app/vector_icons/vector_icons.cc.template |
+++ b/chrome/app/vector_icons/vector_icons.cc.template |
@@ -11,7 +11,7 @@ |
#include "ui/gfx/vector_icon_types.h" |
#define PATH_ELEMENT_TEMPLATE(path_name, ...) \ |
-static gfx::PathElement path_name[] = {__VA_ARGS__}; |
+static constexpr gfx::PathElement path_name[] = {__VA_ARGS__}; |
#define VECTOR_ICON_TEMPLATE(icon_name, path_name, path_name_1x) \ |
const gfx::VectorIcon icon_name = { path_name , path_name_1x }; |
grt (UTC plus 2)
2017/02/07 07:46:15
why not here as well? it may not have the same won
brucedawson
2017/02/21 17:52:12
The only reason it wasn't added was because it was
|