Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index 54e4e4c682313bafdfc285e4dbe57d29e63f864e..625c2f6e7c98acf9cd1fa291a72bc1383c6be7ec 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -968,6 +968,8 @@ RenderViewImpl::~RenderViewImpl() { |
if (decrement_shared_popup_at_destruction_) |
shared_popup_counter_->data--; |
+ base::debug::TraceLog::GetInstance()->RemoveProcessLabel(routing_id_); |
+ |
// If file chooser is still waiting for answer, dispatch empty answer. |
while (!file_chooser_completions_.empty()) { |
if (file_chooser_completions_.front()->completion) { |
@@ -1954,6 +1956,9 @@ void RenderViewImpl::UpdateTitle(WebFrame* frame, |
if (frame->parent()) |
return; |
+ base::debug::TraceLog::GetInstance()->UpdateProcessLabel( |
+ routing_id_, UTF16ToUTF8(title)); |
+ |
string16 shortened_title = title.substr(0, kMaxTitleChars); |
Send(new ViewHostMsg_UpdateTitle(routing_id_, page_id_, shortened_title, |
title_direction)); |