Commit a87067cf authored by Josh Aas's avatar Josh Aas
Browse files

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

parent 1c3c42a6
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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.
+0 −7
Original line number Diff line number Diff line
@@ -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