author | Ben Kelly <ben@wanderview.com> |
Tue, 19 Nov 2013 14:56:57 -0500 | |
changeset 156439 | 59994113d911f74824d9e3692596452a657f3dd1 |
parent 156438 | ae449ab94606db73c9f0fb4a74cd2c29d6608336 |
child 156440 | a2af190cd480187aa9cf47e9da82d935148d4570 |
push id | 25678 |
push user | ryanvm@gmail.com |
push date | Wed, 20 Nov 2013 03:26:13 +0000 |
treeherder | mozilla-central@4f993fa378eb [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | BenWa |
bugs | 940488 |
milestone | 28.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/gfx/layers/ThebesLayerBuffer.h +++ b/gfx/layers/ThebesLayerBuffer.h @@ -57,26 +57,30 @@ public: RotatedBuffer(gfxASurface* aBuffer, gfxASurface* aBufferOnWhite, const nsIntRect& aBufferRect, const nsIntPoint& aBufferRotation) : mBuffer(aBuffer) , mBufferOnWhite(aBufferOnWhite) , mBufferRect(aBufferRect) , mBufferRotation(aBufferRotation) + , mDidSelfCopy(false) { } RotatedBuffer(gfx::DrawTarget* aDTBuffer, gfx::DrawTarget* aDTBufferOnWhite, const nsIntRect& aBufferRect, const nsIntPoint& aBufferRotation) : mDTBuffer(aDTBuffer) , mDTBufferOnWhite(aDTBufferOnWhite) , mBufferRect(aBufferRect) , mBufferRotation(aBufferRotation) + , mDidSelfCopy(false) { } - RotatedBuffer() { } + RotatedBuffer() + : mDidSelfCopy(false) + { } /* * Which buffer should be drawn to/read from. */ enum ContextSource { BUFFER_BLACK, // The normal buffer, or buffer with black background when using component alpha. BUFFER_WHITE, // The buffer with white background, only valid with component alpha. BUFFER_BOTH // The combined black/white buffers, only valid for writing operations, not reading.