| Index: apps/shell_window.cc
|
| diff --git a/apps/shell_window.cc b/apps/shell_window.cc
|
| index 1d358c448eef18d8efae99833fbcc9fb45a65b32..6d2d0a147cdbb9d1aeec06f1da7d47abb1af29ec 100644
|
| --- a/apps/shell_window.cc
|
| +++ b/apps/shell_window.cc
|
| @@ -146,6 +146,8 @@ ShellWindow::ShellWindow(Profile* profile,
|
| show_on_first_paint_(false),
|
| first_paint_complete_(false),
|
| cached_always_on_top_(false) {
|
| + CHECK(!profile->IsGuestSession() || profile->IsOffTheRecord())
|
| + << "Only off the record window may be opened in the guest mode.";
|
| }
|
|
|
| void ShellWindow::Init(const GURL& url,
|
|
|