summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authorantonm@chromium.org <antonm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-02 12:41:05 +0000
committerantonm@chromium.org <antonm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-02 12:41:05 +0000
commit3231c2ecdbba6e6978b988f47a495f9bb45462b9 (patch)
tree133c6c0d2eb43b5028782fd177cfb27ede8d6953 /chrome/renderer
parent5b2dd5d8878c4d825fd659b580e4f57096673772 (diff)
downloadchromium_src-3231c2ecdbba6e6978b988f47a495f9bb45462b9.zip
chromium_src-3231c2ecdbba6e6978b988f47a495f9bb45462b9.tar.gz
chromium_src-3231c2ecdbba6e6978b988f47a495f9bb45462b9.tar.bz2
Add number of tabs opened in the process to crash meta data.
Review URL: http://codereview.chromium.org/3285002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58347 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/render_thread.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc
index a969916..b3f395e 100644
--- a/chrome/renderer/render_thread.cc
+++ b/chrome/renderer/render_thread.cc
@@ -433,11 +433,13 @@ bool RenderThread::Send(IPC::Message* msg) {
void RenderThread::AddRoute(int32 routing_id,
IPC::Channel::Listener* listener) {
widget_count_++;
+ child_process_logging::SetNumberOfViews(widget_count_);
return ChildThread::AddRoute(routing_id, listener);
}
void RenderThread::RemoveRoute(int32 routing_id) {
widget_count_--;
+ child_process_logging::SetNumberOfViews(widget_count_);
return ChildThread::RemoveRoute(routing_id);
}