Bug 1233619 (part 1) - Remove unneeded gfxContext argument from EndUpdate() and EndUpdateBackground() functions. r=roc.

This commit is contained in:
Nicholas Nethercote
2015-12-17 19:39:09 -08:00
parent e816dc54cd
commit e2e2a2fbf9
16 changed files with 20 additions and 29 deletions

View File

@@ -1263,8 +1263,7 @@ nsNPAPIPluginInstance::BeginUpdateBackground(nsIntRect* aRect,
}
nsresult
nsNPAPIPluginInstance::EndUpdateBackground(gfxContext* aContext,
nsIntRect* aRect)
nsNPAPIPluginInstance::EndUpdateBackground(nsIntRect* aRect)
{
if (RUNNING != mRunning)
return NS_OK;
@@ -1273,7 +1272,7 @@ nsNPAPIPluginInstance::EndUpdateBackground(gfxContext* aContext,
if (!library)
return NS_ERROR_FAILURE;
return library->EndUpdateBackground(&mNPP, aContext, *aRect);
return library->EndUpdateBackground(&mNPP, *aRect);
}
nsresult