missed &s in 15688:953a299d8c32 b=430450

This commit is contained in:
Karl Tomlinson 2008-07-07 16:15:07 +12:00
Родитель 2e36bd7142
Коммит 591a12a206
1 изменённых файлов: 2 добавлений и 2 удалений

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

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