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

Unified Diff: chrome/browser/renderer_host/resource_dispatcher_host.cc

Issue 42366: Fix single-process ui test failures from my previous change. The problem was... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « chrome/browser/memory_details.cc ('k') | chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/resource_dispatcher_host.cc
===================================================================
--- chrome/browser/renderer_host/resource_dispatcher_host.cc (revision 12019)
+++ chrome/browser/renderer_host/resource_dispatcher_host.cc (working copy)
@@ -264,7 +264,7 @@
IPC::Message* sync_result, // only valid for sync
int route_id) {
ChildProcessInfo::ProcessType process_type = receiver_->type();
- int process_id = receiver_->pid();
+ int process_id = receiver_->GetProcessId();
URLRequestContext* context =
receiver_->GetRequestContext(request_id, request_data);
if (!context)
@@ -384,7 +384,7 @@
}
void ResourceDispatcherHost::OnDataReceivedACK(int request_id) {
- DataReceivedACK(receiver_->pid(), request_id);
+ DataReceivedACK(receiver_->GetProcessId(), request_id);
}
void ResourceDispatcherHost::DataReceivedACK(int process_id, int request_id) {
@@ -414,7 +414,7 @@
}
void ResourceDispatcherHost::OnUploadProgressACK(int request_id) {
- int process_id = receiver_->pid();
+ int process_id = receiver_->GetProcessId();
PendingRequestList::iterator i = pending_requests_.find(
GlobalRequestID(process_id, request_id));
if (i == pending_requests_.end())
@@ -425,7 +425,7 @@
}
void ResourceDispatcherHost::OnCancelRequest(int request_id) {
- CancelRequest(receiver_->pid(), request_id, true, true);
+ CancelRequest(receiver_->GetProcessId(), request_id, true, true);
}
void ResourceDispatcherHost::OnClosePageACK(int new_render_process_host_id,
« no previous file with comments | « chrome/browser/memory_details.cc ('k') | chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698