summaryrefslogtreecommitdiffstats
path: root/content/app/content_main_runner.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/app/content_main_runner.cc')
-rw-r--r--content/app/content_main_runner.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index 43c0d00..7c8e7eb 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -703,7 +703,8 @@ class ContentMainRunnerImpl : public ContentMainRunner {
// kV8NativesDataDescriptor and kV8SnapshotDataDescriptor are shared with
// child processes. On Android they are set in
// ChildProcessService::InternalInitChildProcess, otherwise set them here.
- if (!process_type.empty() && process_type != switches::kZygoteProcess) {
+ if (!process_type.empty() && process_type != switches::kZygoteProcess
+ && process_type != "service") {
g_fds->Set(
kV8NativesDataDescriptor,
kV8NativesDataDescriptor + base::GlobalDescriptors::kBaseDescriptor);