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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 8776017: Get additional crash data to narrow down renderer kills. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | « content/browser/tab_contents/navigation_controller.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 6b9933a730fd22cc4c6eafaeb944969f4da90434..e26da1eed23ab86a2608ea678343eb55c73032ac 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -17,6 +17,7 @@
#include "base/metrics/histogram.h"
#include "base/metrics/stats_table.h"
#include "base/shared_memory.h"
+#include "base/string_number_conversions.h" // Temporary
#include "base/task.h"
#include "base/threading/thread_local.h"
#include "base/values.h"
@@ -834,7 +835,12 @@ void RenderThreadImpl::OnNetworkStateChanged(bool online) {
}
void RenderThreadImpl::OnTempCrashWithData(const GURL& data) {
- content::GetContentClient()->SetActiveURL(data);
+ // Append next_page_id_ to the data from the browser.
+ std::string temp = data.spec();
+ temp.append("#next");
+ temp.append(base::IntToString(RenderViewImpl::next_page_id()));
+
+ content::GetContentClient()->SetActiveURL(GURL(temp));
CHECK(false);
}
« no previous file with comments | « content/browser/tab_contents/navigation_controller.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698