summaryrefslogtreecommitdiffstats
path: root/extra/xulrunner/mozilla-ps-pdf-simplify-operators.patch
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2010-09-09 12:56:35 +0200
committersibel <lesibel@free.fr>2010-09-09 12:56:35 +0200
commit47134f8e3c40517d32853b1bc73d70dd4b4701cb (patch)
treef9cfa6a51240e0e5144bc5edea8f39cf6a5e77a4 /extra/xulrunner/mozilla-ps-pdf-simplify-operators.patch
parent87daa324ce8f80c34f47d6d927868eff5db112ad (diff)
downloadnutyx-pakxe-47134f8e3c40517d32853b1bc73d70dd4b4701cb.tar.gz
nutyx-pakxe-47134f8e3c40517d32853b1bc73d70dd4b4701cb.tar.bz2
nutyx-pakxe-47134f8e3c40517d32853b1bc73d70dd4b4701cb.tar.xz
nutyx-pakxe-47134f8e3c40517d32853b1bc73d70dd4b4701cb.zip
maj de xulrunner#1.9.2.9-1
Diffstat (limited to 'extra/xulrunner/mozilla-ps-pdf-simplify-operators.patch')
-rw-r--r--extra/xulrunner/mozilla-ps-pdf-simplify-operators.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/extra/xulrunner/mozilla-ps-pdf-simplify-operators.patch b/extra/xulrunner/mozilla-ps-pdf-simplify-operators.patch
new file mode 100644
index 000000000..cab134158
--- /dev/null
+++ b/extra/xulrunner/mozilla-ps-pdf-simplify-operators.patch
@@ -0,0 +1,42 @@
+https://bugzilla.mozilla.org/show_bug.cgi?id=435313
+
+Index: mozilla/gfx/thebes/public/gfxPDFSurface.h
+===================================================================
+RCS file: /cvsroot/mozilla/gfx/thebes/public/gfxPDFSurface.h,v
+retrieving revision 1.13
+diff -d -u -p -r1.13 gfxPDFSurface.h
+--- mozilla/gfx/thebes/public/gfxPDFSurface.h 19 Mar 2008 20:51:42 -0000 1.13
++++ mozilla/gfx/thebes/public/gfxPDFSurface.h 23 May 2008 00:50:31 -0000
+@@ -63,7 +63,11 @@ public:
+ // this is in points!
+ const gfxSize& GetSize() const { return mSize; }
+
+- virtual PRInt32 GetDefaultContextFlags() const { return gfxContext::FLAG_DISABLE_SNAPPING; }
++ virtual PRInt32 GetDefaultContextFlags() const
++ {
++ return gfxContext::FLAG_SIMPLIFY_OPERATORS |
++ gfxContext::FLAG_DISABLE_SNAPPING;
++ }
+
+ private:
+ nsCOMPtr<nsIOutputStream> mStream;
+Index: mozilla/gfx/thebes/public/gfxPSSurface.h
+===================================================================
+RCS file: /cvsroot/mozilla/gfx/thebes/public/gfxPSSurface.h,v
+retrieving revision 1.13
+diff -d -u -p -r1.13 gfxPSSurface.h
+--- mozilla/gfx/thebes/public/gfxPSSurface.h 19 Mar 2008 20:51:42 -0000 1.13
++++ mozilla/gfx/thebes/public/gfxPSSurface.h 23 May 2008 00:50:31 -0000
+@@ -63,7 +63,11 @@ public:
+ // this is in points!
+ const gfxSize& GetSize() const { return mSize; }
+
+- virtual PRInt32 GetDefaultContextFlags() const { return gfxContext::FLAG_DISABLE_SNAPPING; }
++ virtual PRInt32 GetDefaultContextFlags() const
++ {
++ return gfxContext::FLAG_SIMPLIFY_OPERATORS |
++ gfxContext::FLAG_DISABLE_SNAPPING;
++ }
+
+ private:
+ nsCOMPtr<nsIOutputStream> mStream;