mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-20 14:17:30 +09:00
Issue #2112 - Part 3: Remove --enable-stylo config and conditionals
This commit is contained in:
parent
88ac168f96
commit
e777ae5a3c
21 changed files with 0 additions and 254 deletions
|
|
@ -3767,15 +3767,6 @@ XREMain::XRE_mainRun()
|
|||
rv = appStartup->CreateHiddenWindow();
|
||||
NS_ENSURE_SUCCESS(rv, NS_ERROR_FAILURE);
|
||||
|
||||
#ifdef MOZ_STYLO
|
||||
// We initialize Servo here so that the hidden DOM window is available,
|
||||
// since initializing Servo calls style struct constructors, and the
|
||||
// HackilyFindDeviceContext stuff we have right now depends on the hidden
|
||||
// DOM window. When we fix that, this should move back to
|
||||
// nsLayoutStatics.cpp
|
||||
Servo_Initialize();
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_DESKTOP_STARTUP_ID) && defined(MOZ_WIDGET_GTK)
|
||||
nsGTKToolkit* toolkit = nsGTKToolkit::GetToolkit();
|
||||
if (toolkit && !mDesktopStartupID.IsEmpty()) {
|
||||
|
|
@ -3848,12 +3839,6 @@ XREMain::XRE_mainRun()
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef MOZ_STYLO
|
||||
// This, along with the call to Servo_Initialize, should eventually move back
|
||||
// to nsLayoutStatics.cpp.
|
||||
Servo_Shutdown();
|
||||
#endif
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue