| Index: chrome/browser/ui/toolbar/wrench_menu_model.cc
|
| diff --git a/chrome/browser/ui/toolbar/wrench_menu_model.cc b/chrome/browser/ui/toolbar/wrench_menu_model.cc
|
| index 937c55018db7c4b9278bfcc2717a70e26351fda2..96f205623fe688c3b65a9af821cb679bc1e94f66 100644
|
| --- a/chrome/browser/ui/toolbar/wrench_menu_model.cc
|
| +++ b/chrome/browser/ui/toolbar/wrench_menu_model.cc
|
| @@ -480,14 +480,7 @@ bool WrenchMenuModel::ShouldShowNewIncognitoWindowMenuItem() {
|
| }
|
| #endif
|
|
|
| -#if defined(OS_CHROMEOS)
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| - chromeos::switches::kGuestSession)) {
|
| - return false;
|
| - }
|
| -#endif
|
| -
|
| - return true;
|
| + return !browser_->profile()->IsGuestSession();
|
| }
|
|
|
| bool WrenchMenuModel::ShouldShowNewWindowMenuItem() {
|
|
|