Correct variable names from 15688:953a299d8c32 b=430450

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

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

@ -1350,7 +1350,8 @@ nsObjectFrame::PaintPlugin(nsIRenderingContext& aRenderingContext,
// delegate all painting to the plugin instance.
if (mInstanceOwner) {
// FIXME - Bug 385435: Doesn't aDirtyRect need translating too?
nsIRenderingContext::AutoPushTranslation translate(aCtx, aPt.x, aPt.y);
nsIRenderingContext::AutoPushTranslation
translate(aRenderingContext, aFramePt.x, aFramePt.y);
if (mInstanceOwner->GetDrawingModel() == NPDrawingModelCoreGraphics) {
PRInt32 p2a = PresContext()->AppUnitsPerDevPixel();
@ -1421,7 +1422,8 @@ nsObjectFrame::PaintPlugin(nsIRenderingContext& aRenderingContext,
if (window->type == nsPluginWindowType_Drawable) {
// FIXME - Bug 385435: Doesn't aDirtyRect need translating too?
nsIRenderingContext::AutoPushTranslation translate(aCtx, aPt.x, aPt.y);
nsIRenderingContext::AutoPushTranslation
translate(aRenderingContext, aFramePt.x, aFramePt.y);
// check if we need to call SetWindow with updated parameters
PRBool doupdatewindow = PR_FALSE;