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

Unified Diff: chrome/test/chromedriver/chrome/web_view_impl.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/web_view_impl.cc
diff --git a/chrome/test/chromedriver/chrome/web_view_impl.cc b/chrome/test/chromedriver/chrome/web_view_impl.cc
index f1ab9b4d64347f0f6e47bc7dda88b0d5763b902c..28577ae93c4388adf786bd8dbc5a45e980741ed6 100644
--- a/chrome/test/chromedriver/chrome/web_view_impl.cc
+++ b/chrome/test/chromedriver/chrome/web_view_impl.cc
@@ -510,7 +510,7 @@ Status WebViewImpl::CallAsyncFunctionInternal(const std::string& frame,
if (status.IsError())
return status;
- const char* kDocUnloadError = "document unloaded while waiting for result";
+ const char kDocUnloadError[] = "document unloaded while waiting for result";
std::string kQueryResult = base::StringPrintf(
"function() {"
" var info = document.$chrome_asyncScriptInfo;"
« no previous file with comments | « chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc ('k') | chrome/test/chromedriver/chrome_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698