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;" |