summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_activex.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/chrome_frame_activex.cc')
-rw-r--r--chrome_frame/chrome_frame_activex.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome_frame/chrome_frame_activex.cc b/chrome_frame/chrome_frame_activex.cc
index 0e6eb21..eeffb23 100644
--- a/chrome_frame/chrome_frame_activex.cc
+++ b/chrome_frame/chrome_frame_activex.cc
@@ -409,8 +409,9 @@ HRESULT ChromeFrameActivex::IOleObject_SetClientSite(
// Probe to see whether the host implements the privileged service.
ScopedComPtr<IChromeFramePrivileged> service;
- HRESULT service_hr = DoQueryService(SID_ChromeFramePrivileged, client_site,
- service.Receive());
+ HRESULT service_hr = DoQueryService(SID_ChromeFramePrivileged,
+ m_spClientSite,
+ service.Receive());
if (SUCCEEDED(service_hr) && service) {
// Does the host want privileged mode?
boolean wants_privileged = false;
@@ -462,6 +463,7 @@ HRESULT ChromeFrameActivex::IOleObject_SetClientSite(
if (!InitializeAutomation(profile_name, chrome_extra_arguments,
IsIEInPrivate(), true, GURL(utf8_url),
GURL())) {
+ DLOG(ERROR) << "Failed to navigate to url:" << utf8_url;
return E_FAIL;
}
}