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

Unified Diff: chrome/browser/renderer_host/browser_render_process_host.cc

Issue 4752003: Adding CHECKs to troubleshoot the crash issue tuple.h/browser_render_process_host.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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
« no previous file with comments | « base/tuple.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/browser_render_process_host.cc
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc
index af37c6b98aaa181fa47f8e92e336604a693047aa..4e62f45dbd0d94e64a2d52610f90928a6d565ee2 100644
--- a/chrome/browser/renderer_host/browser_render_process_host.cc
+++ b/chrome/browser/renderer_host/browser_render_process_host.cc
@@ -856,6 +856,12 @@ void BrowserRenderProcessHost::OnMessageReceived(const IPC::Message& msg) {
if (deleting_soon_)
return;
+#if defined(OS_CHROMEOS)
+ // To troubleshoot crosbug.com/7327.
+ CHECK(this);
+ CHECK(&msg);
+#endif
+
mark_child_process_activity_time();
if (msg.routing_id() == MSG_ROUTING_CONTROL) {
// Dispatch control messages.
« no previous file with comments | « base/tuple.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698