summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome_frame/chrome_tab.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome_frame/chrome_tab.cc b/chrome_frame/chrome_tab.cc
index a54b88f..7f2f5a7 100644
--- a/chrome_frame/chrome_tab.cc
+++ b/chrome_frame/chrome_tab.cc
@@ -946,6 +946,11 @@ STDAPI DllCanUnloadNow() {
STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv) {
chrome_frame::ScopedCrashReporting crash_reporting;
+ // IE 11+ are unsupported.
+ if (GetIEVersion() > IE_10) {
+ return CLASS_E_CLASSNOTAVAILABLE;
+ }
+
// If we found another module present when we were loaded, then delegate to
// that:
if (g_dll_get_class_object_redir_ptr) {