summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/chrome_active_document.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc
index 4e862f9..2842e01 100644
--- a/chrome_frame/chrome_active_document.cc
+++ b/chrome_frame/chrome_active_document.cc
@@ -626,7 +626,7 @@ HRESULT ChromeActiveDocument::IEExec(const GUID* cmd_group_guid,
ScopedComPtr<IOleCommandTarget> frame_cmd_target;
ScopedComPtr<IOleInPlaceSite> in_place_site(m_spInPlaceSite);
- if (!in_place_site.get()) {
+ if (!in_place_site.get() && m_spClientSite != NULL) {
in_place_site.QueryFrom(m_spClientSite);
}