Index: content/browser/child_process_launcher.cc |
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc |
index bde7f93fac8c5956efec89330622d96047dfdefb..e497762aff8ebbd651e8467c6c0409ff7c8f8fe2 100644 |
--- a/content/browser/child_process_launcher.cc |
+++ b/content/browser/child_process_launcher.cc |
@@ -495,7 +495,7 @@ void ChildProcessLauncher::SetProcessBackgrounded(bool background) { |
void ChildProcessLauncher::SetTerminateChildOnShutdown( |
bool terminate_on_shutdown) { |
- if (context_) |
+ if (context_.get()) |
context_->set_terminate_child_on_shutdown(terminate_on_shutdown); |
} |