Bug 724395: Get rid of GetUniqueID impl from nsPluginInstanceOwner. r=bsmedberg

This commit is contained in:
Josh Aas 2012-02-09 14:40:22 -05:00
parent 2d2214a738
commit 24e690145b
2 changed files with 1 additions and 13 deletions

View File

@ -57,7 +57,7 @@ interface nsIDOMElement;
* Some day this might get superseded by a DOM API.
*/
[uuid(6D827DF5-B5CD-416C-85CB-3CDD05C7AED1)]
[uuid(ED83A4D9-77D2-40EA-B140-F160EDB3FE1C)]
interface nsIPluginTagInfo : nsISupports
{
/**
@ -151,11 +151,6 @@ interface nsIPluginTagInfo : nsISupports
*/
readonly attribute unsigned long borderHorizSpace;
/**
* Returns a unique id for the current document containing plugin
*/
readonly attribute unsigned long uniqueID;
/**
* Returns the DOM element corresponding to the tag which references
* this plugin in the document.

View File

@ -1088,13 +1088,6 @@ NS_IMETHODIMP nsPluginInstanceOwner::GetBorderHorizSpace(PRUint32 *result)
return rv;
}
NS_IMETHODIMP nsPluginInstanceOwner::GetUniqueID(PRUint32 *result)
{
NS_ENSURE_ARG_POINTER(result);
*result = NS_PTR_TO_INT32(mObjectFrame);
return NS_OK;
}
// Cache the attributes and/or parameters of our tag into a single set
// of arrays to be compatible with Netscape 4.x. The attributes go first,
// followed by a PARAM/null and then any PARAM tags. Also, hold the