summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ceee/ie/plugin/bho/browser_helper_object.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ceee/ie/plugin/bho/browser_helper_object.cc b/ceee/ie/plugin/bho/browser_helper_object.cc
index c7cf8b3..545e65f 100644
--- a/ceee/ie/plugin/bho/browser_helper_object.cc
+++ b/ceee/ie/plugin/bho/browser_helper_object.cc
@@ -691,7 +691,7 @@ HRESULT BrowserHelperObject::OnCfPrivateMessage(BSTR msg,
if (EnsureTabId() == false) {
deferred_tab_id_call_.push_back(NewRunnableMethod(
this, &BrowserHelperObject::OnCfPrivateMessageImpl,
- msg, origin, target));
+ CComBSTR(msg), CComBSTR(origin), CComBSTR(target)));
return S_OK;
} else {
OnCfPrivateMessageImpl(msg, origin, target);
@@ -1246,7 +1246,7 @@ HRESULT BrowserHelperObject::InsertCode(BSTR code, BSTR file, BOOL all_frames,
if (EnsureTabId() == false) {
deferred_tab_id_call_.push_back(NewRunnableMethod(
this, &BrowserHelperObject::InsertCodeImpl,
- code, file, all_frames == TRUE, type));
+ CComBSTR(code), CComBSTR(file), all_frames == TRUE, type));
} else {
InsertCodeImpl(code, file, all_frames == TRUE, type);
}