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

Unified Diff: chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc

Issue 635623003: Cleanup: Better constify some strings in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mac Created 6 years, 2 months 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
Index: chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc
diff --git a/chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc b/chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc
index 342ae8f28e190933c0e2ae8814c795951a9d2fe3..0301efa0631bed8ee446c7d651b3d934b7d378cc 100644
--- a/chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc
+++ b/chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc
@@ -14,7 +14,7 @@
namespace {
-const char* chunks[] = {"{\"a\": 1,", "\"b\": 2}"};
+const char* const chunks[] = {"{\"a\": 1,", "\"b\": 2}"};
scoped_ptr<base::Value> GetSnapshotAsValue() {
scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
« no previous file with comments | « chrome/test/chromedriver/chrome/heap_snapshot_taker.cc ('k') | chrome/test/chromedriver/chrome/web_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698