Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5258)

Unified Diff: chrome_frame/chrome_tab.cc

Issue 8702010: Allow GCF installation on machine with old IE 7 installs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/chrome_tab.cc
diff --git a/chrome_frame/chrome_tab.cc b/chrome_frame/chrome_tab.cc
index 1a8df60675e2377bc42cb8573d263d68cf963777..b394a111b6a1c4baa54503e95734000be80eaf49 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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698