More necko changes. Changed nsIPluginTagInfo2::GetDocumentBase to copy string.
git-svn-id: svn://10.0.0.236/trunk@36581 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1503,10 +1503,10 @@ nsPluginTagInfo::GetParameter(const char* name, const char* *result)
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
nsPluginTagInfo::GetDocumentBase(const char* *result)
|
||||
nsPluginTagInfo::GetDocumentBase(char* *result)
|
||||
{
|
||||
*result = (const char*)GetLayoutElement()->base_url;
|
||||
return NS_OK;
|
||||
*result = nsCRT::strdup(GetLayoutElement()->base_url);
|
||||
return *result ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
|
||||
Reference in New Issue
Block a user