зеркало из https://github.com/mozilla/gecko-dev.git
Bug 832696 - gfx gets prefs in the plugin process r=jmuizelaar
This commit is contained in:
Родитель
d4170e5094
Коммит
a8297ad818
|
@ -3333,7 +3333,7 @@ PluginInstanceChild::PaintRectToSurface(const nsIntRect& aRect,
|
|||
if (mIsTransparent && !CanPaintOnBackground()) {
|
||||
// Clear surface content for transparent rendering
|
||||
nsRefPtr<gfxContext> ctx = new gfxContext(renderSurface);
|
||||
ctx->SetColor(aColor);
|
||||
ctx->SetDeviceColor(aColor);
|
||||
ctx->SetOperator(gfxContext::OPERATOR_SOURCE);
|
||||
ctx->Rectangle(GfxFromNsRect(plPaintRect));
|
||||
ctx->Fill();
|
||||
|
|
Загрузка…
Ссылка в новой задаче