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

Unified Diff: chrome/browser/themes/theme_service.cc

Issue 924793003: Cleanup: Convert const char* kFoo to const char kFoo[]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 5 years 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 | « chrome/browser/themes/theme_service.h ('k') | components/bookmarks/browser/bookmark_codec.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/themes/theme_service.cc
diff --git a/chrome/browser/themes/theme_service.cc b/chrome/browser/themes/theme_service.cc
index 1fbb8043fa6ad58093c43998c12bffc008a8f84a..fc33daa6fd61be2773abd566693b37bcedfa2955 100644
--- a/chrome/browser/themes/theme_service.cc
+++ b/chrome/browser/themes/theme_service.cc
@@ -65,7 +65,7 @@ typedef ThemeProperties Properties;
// 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 @@ namespace {
// "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
« no previous file with comments | « chrome/browser/themes/theme_service.h ('k') | components/bookmarks/browser/bookmark_codec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698