author | Oleg Romashin <romaxa@gmail.com> |
Wed, 14 Sep 2011 08:51:24 +0100 | |
changeset 76937 | 524cd2f17723b46fb1323a79c18412f1bbe9dc0c |
parent 76936 | c576f8acafd63f71893b56f72634a0975d00ebe5 |
child 76938 | f794c079cf86d1ca1a7f78de8aa4c7fa7d5e257d |
push id | 1907 |
push user | bmo@edmorley.co.uk |
push date | Wed, 14 Sep 2011 07:52:21 +0000 |
treeherder | mozilla-inbound@f794c079cf86 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | cjones |
bugs | 685082 |
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/basic/BasicLayers.cpp +++ b/gfx/layers/basic/BasicLayers.cpp @@ -2517,16 +2517,17 @@ BasicShadowableImageLayer::Paint(gfxCont BasicManager()->CreatedImageBuffer(BasicManager()->Hold(this), nsIntSize(mSize.width, mSize.height), tmpFrontSurface); } nsRefPtr<gfxASurface> backSurface = BasicManager()->OpenDescriptor(mBackBuffer); nsRefPtr<gfxContext> tmpCtx = new gfxContext(backSurface); + tmpCtx->SetOperator(gfxContext::OPERATOR_SOURCE); PaintContext(pat, nsIntRegion(nsIntRect(0, 0, mSize.width, mSize.height)), nsnull, 1.0, tmpCtx); BasicManager()->PaintedImage(BasicManager()->Hold(this), mBackBuffer); }