зеркало из https://github.com/mozilla/gecko-dev.git
Remove Linux-specific synchronous plugin drawing code. (bug 1218688 part 2, r=jimm)
This commit is contained in:
Родитель
0a8c03ba8e
Коммит
489a63378f
|
@ -1652,20 +1652,6 @@ nsPluginFrame::PaintPlugin(nsDisplayListBuilder* aBuilder,
|
|||
mInstanceOwner->Paint(tmpRect, nullptr);
|
||||
}
|
||||
}
|
||||
#elif defined(MOZ_X11)
|
||||
if (mInstanceOwner) {
|
||||
NPWindow *window;
|
||||
mInstanceOwner->GetWindow(window);
|
||||
if (window->type == NPWindowTypeDrawable) {
|
||||
gfxRect frameGfxRect =
|
||||
PresContext()->AppUnitsToGfxUnits(aPluginRect);
|
||||
gfxRect dirtyGfxRect =
|
||||
PresContext()->AppUnitsToGfxUnits(aDirtyRect);
|
||||
gfxContext* ctx = aRenderingContext.ThebesContext();
|
||||
|
||||
mInstanceOwner->Paint(ctx, frameGfxRect, dirtyGfxRect);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче