diff options
author | grt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-25 19:20:37 +0000 |
---|---|---|
committer | grt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-25 19:20:37 +0000 |
commit | 6920fa7f10bbab179b7957584218ddde6c8d94a4 (patch) | |
tree | dacd3bfffcbe56baebffa210aa8bcf3897b47dfb /chrome_frame/chrome_tab.cc | |
parent | 29571ef0525df6c9a28ebbc4a4fb3a7bfd142667 (diff) | |
download | chromium_src-6920fa7f10bbab179b7957584218ddde6c8d94a4.zip chromium_src-6920fa7f10bbab179b7957584218ddde6c8d94a4.tar.gz chromium_src-6920fa7f10bbab179b7957584218ddde6c8d94a4.tar.bz2 |
Allow GCF installation on machine with old IE 7 installs.
BUG=105386
TEST=install on Vista RTM (IE 7.0.6000.16386). if it fails, the fix doesn't work.
R=robertshield@chromium.org
Review URL: http://codereview.chromium.org/8702010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111605 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_tab.cc')
-rw-r--r-- | chrome_frame/chrome_tab.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome_frame/chrome_tab.cc b/chrome_frame/chrome_tab.cc index 1a8df60..b394a11 100644 --- a/chrome_frame/chrome_tab.cc +++ b/chrome_frame/chrome_tab.cc @@ -612,7 +612,9 @@ HRESULT RegisterElevationPolicy(bool reg, bool is_system) { // be able launch Chrome when running in low-integrity IE. hr = _AtlModule.UpdateRegistryFromResourceS(IDR_CHROMEFRAME_ELEVATION, reg); if (SUCCEEDED(hr)) { - hr = RefreshElevationPolicy(); + // Ignore failures since old versions of IE 7 (e.g., 7.0.6000.16386, which + // shipped with Vista RTM) do not export IERefreshElevationPolicy. + RefreshElevationPolicy(); } } return hr; |