Updated files for the Debug plugin. Not part of the build.

This commit is contained in:
dcone@netscape.com
2002-05-13 02:32:35 +00:00
parent e757b57e11
commit 0c31185073
8 changed files with 108 additions and 59 deletions

View File

@@ -174,18 +174,18 @@ void nsPluginInstance::getVersion(char* *aVersion)
}
//-----------------------------------------------------
void
nsPluginInstance::DumpLayout(nsISupports *aWindow, const PRUnichar *aFilePath, const PRUnichar *aFileName)
void nsPluginInstance::OutPutLayoutFrames(nsISupports *aWindow, const PRUnichar *aFilePath, const PRUnichar *aFileName, PRInt32 *aRetVal)
{
nsIDebugObject *theDebugObject=NULL;
*aRetVal = NS_ERROR_FAILURE;
if (gServiceManager) {
// get service using its contract id and use it to allocate the memory
gServiceManager->GetServiceByContractID("@mozilla.org/debug/debugobject;1", NS_GET_IID(nsIDebugObject), (void **)&theDebugObject);
if(theDebugObject){
theDebugObject->DumpContent(aWindow,aFilePath,aFileName);
*aRetVal = theDebugObject->DumpContent(aWindow,aFilePath,aFileName);
}
}
}