author | Chris Lord <chrislord.net@gmail.com> |
Thu, 18 Aug 2011 09:52:48 +1200 | |
changeset 75437 | f345becaf55b05b3f0a05fd9aea4d7d4457377a0 |
parent 75436 | 800f7541fb20db6cecf427c9342fde4efdb8abe4 |
child 75438 | 410678e3b7137a6d912ad553ce2ad2d2704b9142 |
push id | 21023 |
push user | mak77@bonardo.net |
push date | Thu, 18 Aug 2011 09:39:20 +0000 |
treeherder | mozilla-central@f69a10f23bf3 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | mattwoodrow |
bugs | 674494 |
milestone | 9.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 @@ -107,16 +107,20 @@ public: * mRegionToDraw must be drawn. mRegionToInvalidate has been invalidated * by ThebesLayerBuffer and must be redrawn on the screen. * mRegionToInvalidate is set when the buffer has changed from * opaque to transparent or vice versa, since the details of rendering can * depend on the buffer type. mDidSelfCopy is true if we kept our buffer * but used MovePixels() to shift its content. */ struct PaintState { + PaintState() + : mDidSelfCopy(PR_FALSE) + {} + nsRefPtr<gfxContext> mContext; nsIntRegion mRegionToDraw; nsIntRegion mRegionToInvalidate; PRPackedBool mDidSelfCopy; }; enum { PAINT_WILL_RESAMPLE = 0x01