Bug 832696 - gfx gets prefs in the plugin process r=jmuizelaar

This commit is contained in:
Jet Villegas 2013-01-25 00:22:16 -05:00
Родитель d4170e5094
Коммит a8297ad818
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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();