Skip to content

Commit

Permalink
Backed out 1 changesets (bug 1697195) for dt failures on nsDisplayLis…
Browse files Browse the repository at this point in the history
…t.cpp. CLOSED TREE

Backed out changeset d5ebf7eedb59 (bug 1697195)
  • Loading branch information
nbeleuzu committed Mar 9, 2021
1 parent 6fdd239 commit aaad782
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
3 changes: 0 additions & 3 deletions gfx/config/gfxConfigManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "gfxConfig.h"
#include "gfxPlatform.h"
#include "nsIGfxInfo.h"
#include "nsIXULRuntime.h" // for FissionAutostart
#include "nsPrintfCString.h"
#include "nsXULAppAPI.h"

Expand Down Expand Up @@ -126,8 +125,6 @@ void gfxConfigManager::ConfigureWebRenderSoftware() {
// (hardware). See bug 1656811.
if (mWrSoftwareForceEnabled) {
mFeatureWrSoftware->UserForceEnable("Force enabled by pref");
} else if (FissionAutostart()) {
mFeatureWrSoftware->UserForceEnable("Force enabled by fission");
} else if (mWrForceDisabled || mWrEnvForceDisabled) {
// If the user set the pref to force-disable, let's do that. This
// will override all the other enabling prefs
Expand Down
3 changes: 1 addition & 2 deletions gfx/thebes/gfxPlatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3359,8 +3359,7 @@ bool gfxPlatform::FallbackFromAcceleration(FeatureStatus aStatus,
return true;
}

if (StaticPrefs::gfx_webrender_fallback_basic_AtStartup() &&
!FissionAutostart()) {
if (StaticPrefs::gfx_webrender_fallback_basic_AtStartup()) {
// Fallback from WebRender or Software WebRender to Basic.
gfxCriticalNote << "Fallback (SW-)WR to Basic";
if (gfxConfig::IsEnabled(Feature::WEBRENDER_SOFTWARE)) {
Expand Down
6 changes: 2 additions & 4 deletions widget/windows/nsWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@
#include "mozilla/StaticPrefs_layout.h"

#include "nsIGfxInfo.h"
#include "nsIXULRuntime.h" // for FissionAutostart
#include "nsUXThemeConstants.h"
#include "KeyboardLayout.h"
#include "nsNativeDragTarget.h"
Expand Down Expand Up @@ -8540,9 +8539,8 @@ void nsWindow::PickerClosed() {
}

bool nsWindow::WidgetTypePrefersSoftwareWebRender() const {
return (mTransparencyMode == eTransparencyTransparent &&
(StaticPrefs::gfx_webrender_software_unaccelerated_widget_allow() ||
FissionAutostart())) ||
return (StaticPrefs::gfx_webrender_software_unaccelerated_widget_allow() &&
mTransparencyMode == eTransparencyTransparent) ||
nsBaseWidget::WidgetTypePrefersSoftwareWebRender();
}

Expand Down

0 comments on commit aaad782

Please sign in to comment.