From e72586e7f49b5da27560281c47ace6425fa51684 Mon Sep 17 00:00:00 2001 From: Aaron Klotz Date: Tue, 22 Aug 2017 10:02:30 -0600 Subject: [PATCH] Bug 1392666: Unconditionally initialize e10s-specific variables in Win32 a11y::PlatformInit; r=eeejay MozReview-Commit-ID: 6aqnbt9Qytp --- accessible/windows/msaa/Platform.cpp | 31 ++++++++++++++-------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/accessible/windows/msaa/Platform.cpp b/accessible/windows/msaa/Platform.cpp index 7346c576b209..022c33a6c962 100644 --- a/accessible/windows/msaa/Platform.cpp +++ b/accessible/windows/msaa/Platform.cpp @@ -39,22 +39,21 @@ a11y::PlatformInit() nsWinUtils::MaybeStartWindowEmulation(); ia2AccessibleText::InitTextChangeData(); - if (BrowserTabsRemoteAutostart()) { - mscom::InterceptorLog::Init(); - UniquePtr regCustomProxy( - mscom::RegisterProxy()); - gRegCustomProxy = regCustomProxy.release(); - UniquePtr regProxy( - mscom::RegisterProxy(L"ia2marshal.dll")); - gRegProxy = regProxy.release(); - UniquePtr regAccTlb( - mscom::RegisterTypelib(L"oleacc.dll", - RegistrationFlags::eUseSystemDirectory)); - gRegAccTlb = regAccTlb.release(); - UniquePtr regMiscTlb( - mscom::RegisterTypelib(L"Accessible.tlb")); - gRegMiscTlb = regMiscTlb.release(); - } + + mscom::InterceptorLog::Init(); + UniquePtr regCustomProxy( + mscom::RegisterProxy()); + gRegCustomProxy = regCustomProxy.release(); + UniquePtr regProxy( + mscom::RegisterProxy(L"ia2marshal.dll")); + gRegProxy = regProxy.release(); + UniquePtr regAccTlb( + mscom::RegisterTypelib(L"oleacc.dll", + RegistrationFlags::eUseSystemDirectory)); + gRegAccTlb = regAccTlb.release(); + UniquePtr regMiscTlb( + mscom::RegisterTypelib(L"Accessible.tlb")); + gRegMiscTlb = regMiscTlb.release(); } void