зеркало из https://github.com/mozilla/pjs.git
missed &s in 15688:953a299d8c32 b=430450
This commit is contained in:
Родитель
2e36bd7142
Коммит
591a12a206
|
@ -1351,7 +1351,7 @@ nsObjectFrame::PaintPlugin(nsIRenderingContext& aRenderingContext,
|
||||||
if (mInstanceOwner) {
|
if (mInstanceOwner) {
|
||||||
// FIXME - Bug 385435: Doesn't aDirtyRect need translating too?
|
// FIXME - Bug 385435: Doesn't aDirtyRect need translating too?
|
||||||
nsIRenderingContext::AutoPushTranslation
|
nsIRenderingContext::AutoPushTranslation
|
||||||
translate(aRenderingContext, aFramePt.x, aFramePt.y);
|
translate(&aRenderingContext, aFramePt.x, aFramePt.y);
|
||||||
|
|
||||||
if (mInstanceOwner->GetDrawingModel() == NPDrawingModelCoreGraphics) {
|
if (mInstanceOwner->GetDrawingModel() == NPDrawingModelCoreGraphics) {
|
||||||
PRInt32 p2a = PresContext()->AppUnitsPerDevPixel();
|
PRInt32 p2a = PresContext()->AppUnitsPerDevPixel();
|
||||||
|
@ -1423,7 +1423,7 @@ nsObjectFrame::PaintPlugin(nsIRenderingContext& aRenderingContext,
|
||||||
if (window->type == nsPluginWindowType_Drawable) {
|
if (window->type == nsPluginWindowType_Drawable) {
|
||||||
// FIXME - Bug 385435: Doesn't aDirtyRect need translating too?
|
// FIXME - Bug 385435: Doesn't aDirtyRect need translating too?
|
||||||
nsIRenderingContext::AutoPushTranslation
|
nsIRenderingContext::AutoPushTranslation
|
||||||
translate(aRenderingContext, aFramePt.x, aFramePt.y);
|
translate(&aRenderingContext, aFramePt.x, aFramePt.y);
|
||||||
|
|
||||||
// check if we need to call SetWindow with updated parameters
|
// check if we need to call SetWindow with updated parameters
|
||||||
PRBool doupdatewindow = PR_FALSE;
|
PRBool doupdatewindow = PR_FALSE;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче