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); |
} |