Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2883)

Unified Diff: chrome_frame/chrome_active_document.cc

Issue 660255: Fix a crash in ChromeActiveDocument::IOleObject_SetClientSite.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698