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

Unified Diff: chrome/test/chromedriver/chrome/heap_snapshot_taker.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.cc
diff --git a/chrome/test/chromedriver/chrome/heap_snapshot_taker.cc b/chrome/test/chromedriver/chrome/heap_snapshot_taker.cc
index 996d78d09508973cac8d92202428f733ba58fc07..0f119e0f1c9a8530c745591df79f26c1139efaf9 100644
--- a/chrome/test/chromedriver/chrome/heap_snapshot_taker.cc
+++ b/chrome/test/chromedriver/chrome/heap_snapshot_taker.cc
@@ -43,7 +43,7 @@ Status HeapSnapshotTaker::TakeSnapshot(scoped_ptr<base::Value>* snapshot) {
Status HeapSnapshotTaker::TakeSnapshotInternal() {
base::DictionaryValue params;
- const char* kMethods[] = {
+ const char* const kMethods[] = {
"Debugger.enable",
"HeapProfiler.collectGarbage",
"HeapProfiler.takeHeapSnapshot"

Powered by Google App Engine
This is Rietveld 408576698