зеркало из https://github.com/mozilla/gecko-dev.git
Bug 435313 - "Printing on linux should set SIMPLIFY_OPERATORS | DISABLE_SNAPPING" [r=vlad]
This commit is contained in:
Родитель
580b190210
Коммит
d04a74d8f1
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче