diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-24 21:37:01 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-24 21:37:01 +0000 |
commit | 173ca873f69c128c933310b962972082bb6068e1 (patch) | |
tree | f02d845524da4e45774b8a0d31c7072581cb73fe /chrome/common/about_handler.h | |
parent | 5026491dc760085cb5471e605459f86bdd978e25 (diff) | |
download | chromium_src-173ca873f69c128c933310b962972082bb6068e1.zip chromium_src-173ca873f69c128c933310b962972082bb6068e1.tar.gz chromium_src-173ca873f69c128c933310b962972082bb6068e1.tar.bz2 |
Remove potentially many static initializers.
|const char* kFoo| marks the memory pointed to by kFoo as constant, but
the pointer itself can be changed - some function might do `kFoo = "me!";`.
Because of that, every global that's initialized with `myglobal = kFoo;` needs
a static initializer. Fix this by making the pointer const as well.
BUG=94925
TEST=none
Review URL: http://codereview.chromium.org/8693005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111559 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/about_handler.h')
0 files changed, 0 insertions, 0 deletions