summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/update_manifest_unittest.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-24 21:37:01 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-24 21:37:01 +0000
commit173ca873f69c128c933310b962972082bb6068e1 (patch)
treef02d845524da4e45774b8a0d31c7072581cb73fe /chrome/common/extensions/update_manifest_unittest.cc
parent5026491dc760085cb5471e605459f86bdd978e25 (diff)
downloadchromium_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/extensions/update_manifest_unittest.cc')
0 files changed, 0 insertions, 0 deletions