Fix a browser crash on opening 'chrome://voicesearch' in guest mode.
Navigating directly to chrome://voicesearch in guest mode is causing a crash, since the HotwordService is NULL in the guest mode. This patch adds a NULL check on HotwordService to fix the crash. BUG=411784 TEST=With --new-profile-management enabled, try to open chrome://voicesearch in guest mode. Review URL: https://codereview.chromium.org/554603002 Cr-Commit-Position: refs/heads/master@{#294149}
Showing
Please register or sign in to comment