Index: content/public/browser/utility_process_host.h |
diff --git a/content/public/browser/utility_process_host.h b/content/public/browser/utility_process_host.h |
index 36b28509dc94290f22e6e367c9352c9f17018ae4..99a6b3cac8836f159f442be2e754196bd4e2e2d2 100644 |
--- a/content/public/browser/utility_process_host.h |
+++ b/content/public/browser/utility_process_host.h |
@@ -80,8 +80,8 @@ class UtilityProcessHost : public IPC::Sender, |
// Starts the utility process in Mojo mode. |
virtual bool StartMojoMode() = 0; |
- // Returns the ServiceRegistry for this process. Only valid to call this if |
- // the process was started with StartMojoMode(). |
+ // Returns the ServiceRegistry for this process. Will return nullptr if |
+ // the process was not started with StartMojoMode(). |
virtual ServiceRegistry* GetServiceRegistry() = 0; |
// Set the name of the process to appear in the task manager. |