Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 91dd8b3c4c73b805c4b63dcf2de938b1558bde90..31c284ef4117995cedc5cda0f4514bcc260fde66 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -2228,8 +2228,8 @@ void RenderProcessHostImpl::SetBackgrounded(bool backgrounded) { |
// get coverage on the perf waterfall. |
base::FieldTrial* trial = |
base::FieldTrialList::Find("BackgroundRendererProcesses"); |
- if (!trial || (trial->group_name() != "Disallow" && |
- trial->group_name() != "AllowBackgroundModeFromRenderer")) { |
+ if (trial && (trial->group_name() != "Disallow" && |
+ trial->group_name() != "AllowBackgroundModeFromRenderer")) { |
child_process_launcher_->SetProcessBackgrounded(backgrounded); |
} |
#else |