summaryrefslogtreecommitdiff
path: root/gfx/layers
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-01-11 15:34:17 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-08 00:55:37 +0200
commit56d9003017a94e7619f98e76b04929115514d08c (patch)
tree952bd79e8cb7cfa2d071b6dbf13d95caed9d24fa /gfx/layers
parente49b80dba7393d5baff831251f7981bc21324d81 (diff)
downloaduxp-56d9003017a94e7619f98e76b04929115514d08c.tar.gz
Issue #953 - Neuter the user-facing controls for e10s
This should prevent people using a massive footgun that would blow off their entire legs. Requires appropriate FE changes.
Diffstat (limited to 'gfx/layers')
-rw-r--r--gfx/layers/ipc/CompositorBridgeParent.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/gfx/layers/ipc/CompositorBridgeParent.cpp b/gfx/layers/ipc/CompositorBridgeParent.cpp
index e650b2dcf1..d08176b6a5 100644
--- a/gfx/layers/ipc/CompositorBridgeParent.cpp
+++ b/gfx/layers/ipc/CompositorBridgeParent.cpp
@@ -1183,16 +1183,6 @@ CompositorBridgeParent::CompositeToTarget(DrawTarget* aTarget, const gfx::IntRec
&hasRemoteContent,
&updatePluginsFlag);
-#if defined(XP_WIN) || defined(MOZ_WIDGET_GTK)
- // We do not support plugins in local content. When switching tabs
- // to local pages, hide every plugin associated with the window.
- if (!hasRemoteContent && gfxVars::BrowserTabsRemoteAutostart() &&
- mCachedPluginData.Length()) {
- Unused << SendHideAllPlugins(GetWidget()->GetWidgetKey());
- mCachedPluginData.Clear();
- }
-#endif
-
if (aTarget) {
mLayerManager->BeginTransactionWithDrawTarget(aTarget, *aRect);
} else {