summaryrefslogtreecommitdiff
path: root/www/libxul/files/patch-bug1321877
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2018-06-22 22:36:46 +0000
committerRene Ladan <rene@FreeBSD.org>2018-06-22 22:36:46 +0000
commitca06e3d4828a5e13642c6372a0f1e4874177ab6a (patch)
treed922eff923bca766ce1b71ff9565b573da9389a1 /www/libxul/files/patch-bug1321877
parentbsd.gecko.mk / USES=gecko : remove expired libxul support. (diff)
Remove expired port:
2018-06-20 www/libxul: NPAPI are no longer supported
Notes
Notes: svn path=/head/; revision=473092
Diffstat (limited to 'www/libxul/files/patch-bug1321877')
-rw-r--r--www/libxul/files/patch-bug132187742
1 files changed, 0 insertions, 42 deletions
diff --git a/www/libxul/files/patch-bug1321877 b/www/libxul/files/patch-bug1321877
deleted file mode 100644
index 50b1b175dd3d..000000000000
--- a/www/libxul/files/patch-bug1321877
+++ /dev/null
@@ -1,42 +0,0 @@
-commit a13d95795217
-Author: <tharvik@gmail.com>
-Date: Thu Dec 8 18:20:12 2016 -0600
-
- Bug 1321877. Fix compiler warnings in Downscaler.h when skia is not enabled. r=tnikkel
----
- image/Downscaler.h | 11 +++++++----
- 1 file changed, 7 insertions(+), 4 deletions(-)
-
-diff --git image/Downscaler.h image/Downscaler.h
-index 21179a38f200..0bdef0eaa646 100644
---- image/Downscaler.h
-+++ image/Downscaler.h
-@@ -154,14 +154,14 @@ private:
- class Downscaler
- {
- public:
-- explicit Downscaler(const nsIntSize&)
-+ explicit Downscaler(const nsIntSize&) : mScale(1.0, 1.0)
- {
- MOZ_RELEASE_ASSERT(false, "Skia is not enabled");
- }
-
-- const nsIntSize& OriginalSize() const { return nsIntSize(); }
-- const nsIntSize& TargetSize() const { return nsIntSize(); }
-- const gfxSize& Scale() const { return gfxSize(1.0, 1.0); }
-+ const nsIntSize& OriginalSize() const { return mSize; }
-+ const nsIntSize& TargetSize() const { return mSize; }
-+ const gfxSize& Scale() const { return mScale; }
-
- nsresult BeginFrame(const nsIntSize&, const Maybe<nsIntRect>&, uint8_t*, bool, bool = false)
- {
-@@ -177,6 +177,9 @@ public:
- DownscalerInvalidRect TakeInvalidRect() { return DownscalerInvalidRect(); }
- void ResetForNextProgressivePass() { }
- const nsIntSize FrameSize() const { return nsIntSize(0, 0); }
-+private:
-+ nsIntSize mSize;
-+ gfxSize mScale;
- };
-
- #endif // MOZ_ENABLE_SKIA