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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 1006003005: Store the callstack of the IPC sender of ViewMsg_New. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 6697cc437b57daa28359e0920388ebb8b727cd6f..731e2214fe53a0e1d061972384434f9b05455aa4 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -692,9 +692,13 @@ RenderFrameImpl::RenderFrameImpl(RenderViewImpl* render_view, int routing_id)
stack_debug_info[i] = debug_info[i];
for (int i = 0; i < duplicate_size; i++)
duplicate_stack_debug_info[i] = duplicate_debug_info[i];
- (void) stack_debug_info;
- (void) duplicate_stack_debug_info;
CHECK(result.second) << "Inserting a duplicate item.";
+ base::debug::Alias(&stack_debug_info);
+ base::debug::Alias(&duplicate_stack_debug_info);
+ for (int i = 0; i < size; i++)
nasko 2015/03/17 22:45:20 nit: I'd add a comment above to explain why this s
+ LOG(ERROR) << stack_debug_info[i];
+ for (int i = 0; i < duplicate_size; i++)
+ LOG(ERROR) << duplicate_stack_debug_info[i];
}
RenderThread::Get()->AddRoute(routing_id_, this);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698