summaryrefslogtreecommitdiffstats
path: root/chrome_frame/CFInstall.js
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-01 00:06:00 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-01 00:06:00 +0000
commite12a3b8ba0106b816db9f45a74ddd42f344a267d (patch)
treec5ed65d2eec1f311f8b868ef054489af79a5ef7f /chrome_frame/CFInstall.js
parent975126cdf52a2f56522cb549e5dae9a7281ef851 (diff)
downloadchromium_src-e12a3b8ba0106b816db9f45a74ddd42f344a267d.zip
chromium_src-e12a3b8ba0106b816db9f45a74ddd42f344a267d.tar.gz
chromium_src-e12a3b8ba0106b816db9f45a74ddd42f344a267d.tar.bz2
The chrome frame install script instantiates the chrome frame activex via the new ActiveXObject call, which causes it
to not receive the IOleObject_SetClientSite call. We now bootstrap our BHO in an explicit method call RegisterBHOIfNeeded Fixes bug http://code.google.com/p/chromium/issues/detail?id=42790 Bug=42790 Review URL: http://codereview.chromium.org/1823001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46165 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/CFInstall.js')
-rw-r--r--chrome_frame/CFInstall.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome_frame/CFInstall.js b/chrome_frame/CFInstall.js
index e8190cb6..5f2efdf 100644
--- a/chrome_frame/CFInstall.js
+++ b/chrome_frame/CFInstall.js
@@ -49,6 +49,7 @@
try {
var obj = new ActiveXObject('ChromeTab.ChromeFrame');
if (obj) {
+ obj.RegisterBHOIfNeeded();
return true;
}
} catch(e) {