updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / xulrunner-qt / mozilla-ps-pdf-simplify-operators.patch
blobcab134158288d5529cfc5da27d484d07bbd0f7de
1 https://bugzilla.mozilla.org/show_bug.cgi?id=435313
3 Index: mozilla/gfx/thebes/public/gfxPDFSurface.h
4 ===================================================================
5 RCS file: /cvsroot/mozilla/gfx/thebes/public/gfxPDFSurface.h,v
6 retrieving revision 1.13
7 diff -d -u -p -r1.13 gfxPDFSurface.h
8 --- mozilla/gfx/thebes/public/gfxPDFSurface.h 19 Mar 2008 20:51:42 -0000 1.13
9 +++ mozilla/gfx/thebes/public/gfxPDFSurface.h 23 May 2008 00:50:31 -0000
10 @@ -63,7 +63,11 @@ public:
11 // this is in points!
12 const gfxSize& GetSize() const { return mSize; }
14 - virtual PRInt32 GetDefaultContextFlags() const { return gfxContext::FLAG_DISABLE_SNAPPING; }
15 + virtual PRInt32 GetDefaultContextFlags() const
16 + {
17 + return gfxContext::FLAG_SIMPLIFY_OPERATORS |
18 + gfxContext::FLAG_DISABLE_SNAPPING;
19 + }
21 private:
22 nsCOMPtr<nsIOutputStream> mStream;
23 Index: mozilla/gfx/thebes/public/gfxPSSurface.h
24 ===================================================================
25 RCS file: /cvsroot/mozilla/gfx/thebes/public/gfxPSSurface.h,v
26 retrieving revision 1.13
27 diff -d -u -p -r1.13 gfxPSSurface.h
28 --- mozilla/gfx/thebes/public/gfxPSSurface.h 19 Mar 2008 20:51:42 -0000 1.13
29 +++ mozilla/gfx/thebes/public/gfxPSSurface.h 23 May 2008 00:50:31 -0000
30 @@ -63,7 +63,11 @@ public:
31 // this is in points!
32 const gfxSize& GetSize() const { return mSize; }
34 - virtual PRInt32 GetDefaultContextFlags() const { return gfxContext::FLAG_DISABLE_SNAPPING; }
35 + virtual PRInt32 GetDefaultContextFlags() const
36 + {
37 + return gfxContext::FLAG_SIMPLIFY_OPERATORS |
38 + gfxContext::FLAG_DISABLE_SNAPPING;
39 + }
41 private:
42 nsCOMPtr<nsIOutputStream> mStream;