| Index: chrome/browser/ui/webui/md_history_ui.cc
|
| diff --git a/chrome/browser/ui/webui/md_history_ui.cc b/chrome/browser/ui/webui/md_history_ui.cc
|
| index d9f836c7d7b6888212d79f854bd9957f3db81016..e21822885d6b1131f67091907595d340ce524343 100644
|
| --- a/chrome/browser/ui/webui/md_history_ui.cc
|
| +++ b/chrome/browser/ui/webui/md_history_ui.cc
|
| @@ -188,7 +188,7 @@ bool MdHistoryUI::IsEnabled(Profile* profile) {
|
| features::kMaterialDesignHistoryFeature) &&
|
| !base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kHistoryEnableGroupByDomain) &&
|
| - !profile->IsSupervised();
|
| + profile && !profile->IsSupervised();
|
| }
|
|
|
| // static
|
|
|