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:
12 const gfxSize& GetSize() const { return mSize; }
14 - virtual PRInt32 GetDefaultContextFlags() const { return gfxContext::FLAG_DISABLE_SNAPPING; }
15 + virtual PRInt32 GetDefaultContextFlags() const
17 + return gfxContext::FLAG_SIMPLIFY_OPERATORS |
18 + gfxContext::FLAG_DISABLE_SNAPPING;
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:
32 const gfxSize& GetSize() const { return mSize; }
34 - virtual PRInt32 GetDefaultContextFlags() const { return gfxContext::FLAG_DISABLE_SNAPPING; }
35 + virtual PRInt32 GetDefaultContextFlags() const
37 + return gfxContext::FLAG_SIMPLIFY_OPERATORS |
38 + gfxContext::FLAG_DISABLE_SNAPPING;
42 nsCOMPtr<nsIOutputStream> mStream;