Index: content/browser/child_process_launcher.cc |
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc |
index 28be72bb9c32eb853702adbdb0726379a3f9825c..2387fab203b2652510300162231900b90eedb133 100644 |
--- a/content/browser/child_process_launcher.cc |
+++ b/content/browser/child_process_launcher.cc |
@@ -221,8 +221,10 @@ void LaunchOnLauncherThread(const NotifyCallback& callback, |
GetBootstrapSandbox()->FinishedFork(process.Handle()); |
} |
- if (process.IsValid()) |
- broker->AddPlaceholderForPid(process.Pid(), child_process_id); |
+ if (process.IsValid()) { |
+ broker->AddPlaceholderForPid(process.Pid(), child_process_id, |
+ process_type == switches::kGpuProcess); |
+ } |
// After updating the broker, release the lock and let the child's |
// messasge be processed on the broker's thread. |