summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrimiano Tucci <primiano@google.com>2015-02-09 09:02:32 +0000
committerPrimiano Tucci <primiano@google.com>2015-02-09 09:02:38 +0000
commit44210e03fa29957725e9da00fe8db25a2152d15a (patch)
treef02ea3aca794de30594dc045ab5787814cc07bb4
parent9aa324b92e5cebf7f36b9829dcfbb924d65259f1 (diff)
downloadchromium_org-44210e03fa29957725e9da00fe8db25a2152d15a.tar.gz
Cherry pick: [WebView] Reword crash handler message.
This is a cherry pick from chromium: https://crrev.com/86fca587a88a12c485c5b3bfaf7d3029561137af Original CL description: The current crash handler prints a message on logcat of the form "### WebView crash. Version ..." whenever a crash is detected in an Android app which happens to have a WebView. Due to the in-process nature of the WebView, the crash handler is triggered regardless of the actual cause of the crash, which might be totally unrelated with the WebView or the chromium codebase at all. The current wording is misleading as it erroneously suggests that the crash is always due to the WebView. BUG: 19293339 Change-Id: Ieeba42f19f7309fcbda5fa6ca0baa1cb33955092
-rw-r--r--android_webview/common/aw_crash_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/android_webview/common/aw_crash_handler.cc b/android_webview/common/aw_crash_handler.cc
index fbd4285b05..7dcdc9d553 100644
--- a/android_webview/common/aw_crash_handler.cc
+++ b/android_webview/common/aw_crash_handler.cc
@@ -71,7 +71,7 @@ void RegisterCrashHandler(const std::string& version) {
return;
}
- g_crash_msg = "### WebView crash. " + version;
+ g_crash_msg = "### WebView " + version;
g_crash_msg_ptr = g_crash_msg.c_str();
// Fail if unable to store all the old handlers.