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

Unified Diff: content/browser/child_process_launcher.cc

Issue 1137453002: content: Pass IOSurface references using Mach IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcastagna's review Created 5 years, 7 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
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.

Powered by Google App Engine
This is Rietveld 408576698