summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome_frame/chrome_active_document.cc2
-rw-r--r--chrome_frame/chrome_frame_activex_base.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc
index 871b8b9..dd3faaa 100644
--- a/chrome_frame/chrome_active_document.cc
+++ b/chrome_frame/chrome_active_document.cc
@@ -142,7 +142,7 @@ STDMETHODIMP ChromeActiveDocument::DoVerb(LONG verb,
// Here we refuse to be activated in-place and we will force IE to UIActivate
// us.
if (OLEIVERB_INPLACEACTIVATE == verb)
- return E_NOTIMPL;
+ return OLEOBJ_E_INVALIDVERB;
// Check if we should activate as a docobject or not
// (client supports IOleDocumentSite)
if (doc_site_) {
diff --git a/chrome_frame/chrome_frame_activex_base.h b/chrome_frame/chrome_frame_activex_base.h
index 4504128..9389d79 100644
--- a/chrome_frame/chrome_frame_activex_base.h
+++ b/chrome_frame/chrome_frame_activex_base.h
@@ -506,7 +506,7 @@ END_MSG_MAP()
}
std::string url = base::StringPrintf(
- "%hs:%hs?attach_external_tab&%I64u&%d&%d&%d&%d&%d&%hs",
+ "%hs://%hs?attach_external_tab&%I64u&%d&%d&%d&%d&%d&%hs",
scheme.c_str(),
host.c_str(),
params.cookie,