summaryrefslogtreecommitdiff
path: root/layout/generic/nsPluginFrame.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-03-10 18:58:26 +0000
committerMoonchild <moonchild@palemoon.org>2021-03-10 18:58:26 +0000
commit515c1193c5663e46a313acb7a39ed2f3d209f69e (patch)
treec291e0ee9c44ec2c1fa2b1a56782cd630c571469 /layout/generic/nsPluginFrame.cpp
parent108ec40998d1b571f073d1e57de5fbf368bfe17c (diff)
downloaduxp-515c1193c5663e46a313acb7a39ed2f3d209f69e.tar.gz
Issue #1053 - Remove mobile-specific graphics "optimizations" (=compromises)
Diffstat (limited to 'layout/generic/nsPluginFrame.cpp')
-rw-r--r--layout/generic/nsPluginFrame.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/layout/generic/nsPluginFrame.cpp b/layout/generic/nsPluginFrame.cpp
index 442f8ca262..eee3f46b8b 100644
--- a/layout/generic/nsPluginFrame.cpp
+++ b/layout/generic/nsPluginFrame.cpp
@@ -1429,12 +1429,6 @@ nsPluginFrame::BuildLayer(nsDisplayListBuilder* aBuilder,
imglayer->SetScaleToSize(size, ScaleMode::STRETCH);
imglayer->SetContainer(container);
SamplingFilter samplingFilter = nsLayoutUtils::GetSamplingFilterForFrame(this);
-#ifdef MOZ_GFX_OPTIMIZE_MOBILE
- if (!aManager->IsCompositingCheap()) {
- // Pixman just horrible with bilinear filter scaling
- samplingFilter = SamplingFilter::POINT;
- }
-#endif
imglayer->SetSamplingFilter(samplingFilter);
layer->SetContentFlags(IsOpaque() ? Layer::CONTENT_OPAQUE : 0);