| Index: chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.cc b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| index 7881ece2052969c89bd5c7346ed91acdf0de6e8b..7611409f1eea1dd3085292edd5e7d8e3575f5426 100644
|
| --- a/chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| +++ b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| @@ -108,7 +108,8 @@ NewTabUI::NewTabUI(content::WebUI* web_ui)
|
| // The theme handler can require some CPU, so do it after hooking up the most
|
| // visited handler. This allows the DB query for the new tab thumbs to happen
|
| // earlier.
|
| - web_ui->AddMessageHandler(new ThemeHandler());
|
| + if (!profile->IsGuestSession())
|
| + web_ui->AddMessageHandler(new ThemeHandler());
|
| #endif
|
|
|
| scoped_ptr<NewTabHTMLSource> html_source(
|
|
|