зеркало из https://github.com/mozilla/pjs.git
Correct variable names from 15688:953a299d8c32 b=430450
This commit is contained in:
Родитель
2e52ff8c55
Коммит
2e36bd7142
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче