Chromium Code Reviews| Index: chrome_frame/chrome_active_document.cc | 
| =================================================================== | 
| --- chrome_frame/chrome_active_document.cc (revision 40022) | 
| +++ chrome_frame/chrome_active_document.cc (working copy) | 
| @@ -386,7 +386,9 @@ | 
| } | 
| ScopedComPtr<IDocHostUIHandler> doc_host_handler; | 
| - doc_host_handler.QueryFrom(doc_site_); | 
| + if (doc_site_) { | 
| + doc_host_handler.QueryFrom(doc_site_); | 
| + } | 
| if (doc_host_handler.get()) { | 
| doc_host_handler->HideUI(); |