Cleanup: Convert const char* kFoo to const char kFoo[].
Or change them to const char* const kFoo.
[email protected]
Review URL: https://codereview.chromium.org/924793003
Cr-Commit-Position: refs/heads/master@{#365692}
diff --git a/chrome/browser/themes/theme_service.cc b/chrome/browser/themes/theme_service.cc
index 1fbb804..fc33daa 100644
--- a/chrome/browser/themes/theme_service.cc
+++ b/chrome/browser/themes/theme_service.cc
@@ -65,7 +65,7 @@
// The default theme if we haven't installed a theme yet or if we've clicked
// the "Use Classic" button.
-const char* ThemeService::kDefaultThemeID = "";
+const char ThemeService::kDefaultThemeID[] = "";
namespace {
@@ -73,7 +73,7 @@
// "Default" theme. We have to detect this case specifically. (By the time we
// realize we've installed the default theme, we already have an extension
// unpacked on the filesystem.)
-const char* kDefaultThemeGalleryID = "hkacjpbfdknhflllbcmjibkdeoafencn";
+const char kDefaultThemeGalleryID[] = "hkacjpbfdknhflllbcmjibkdeoafencn";
// Wait this many seconds after startup to garbage collect unused themes.
// Removing unused themes is done after a delay because there is no