summaryrefslogtreecommitdiff
path: root/gfx/layers/composite/ContentHost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/composite/ContentHost.cpp')
-rw-r--r--gfx/layers/composite/ContentHost.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/gfx/layers/composite/ContentHost.cpp b/gfx/layers/composite/ContentHost.cpp
index b1d92a6c9e..86d33fdb64 100644
--- a/gfx/layers/composite/ContentHost.cpp
+++ b/gfx/layers/composite/ContentHost.cpp
@@ -71,7 +71,6 @@ ContentHostTexture::Composite(LayerComposite* aLayer,
nsIntRegion tmpRegion;
const nsIntRegion* renderRegion;
-#ifndef MOZ_IGNORE_PAINT_WILL_RESAMPLE
if (PaintWillResample()) {
// If we're resampling, then the texture image will contain exactly the
// entire visible region's bounds, and we should draw it all in one quad
@@ -81,9 +80,6 @@ ContentHostTexture::Composite(LayerComposite* aLayer,
} else {
renderRegion = aVisibleRegion;
}
-#else
- renderRegion = aVisibleRegion;
-#endif
nsIntRegion region(*renderRegion);
nsIntPoint origin = GetOriginOffset();