Bug 1042654: Remove nsIDOMWindowPerformance r=bz

This commit is contained in:
David Zbarsky 2014-09-05 23:33:37 -04:00
parent 783bce0025
commit c3a5b2e651
3 changed files with 1 additions and 24 deletions

View File

@ -1668,7 +1668,6 @@ NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsGlobalWindow)
NS_INTERFACE_MAP_ENTRY(nsPIDOMWindow)
NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference)
NS_INTERFACE_MAP_ENTRY(nsIInterfaceRequestor)
NS_INTERFACE_MAP_ENTRY(nsIDOMWindowPerformance)
NS_INTERFACE_MAP_END
@ -3608,15 +3607,6 @@ nsGlobalWindow::GetPerformance()
return nsPIDOMWindow::GetPerformance();
}
NS_IMETHODIMP
nsGlobalWindow::GetPerformance(nsISupports** aPerformance)
{
nsCOMPtr<nsISupports> performance = GetPerformance();
performance.forget(aPerformance);
return NS_OK;
}
nsPerformance*
nsPIDOMWindow::GetPerformance()
{

View File

@ -327,8 +327,7 @@ class nsGlobalWindow : public mozilla::dom::EventTarget,
public nsIDOMJSWindow,
public nsSupportsWeakReference,
public nsIInterfaceRequestor,
public PRCListStr,
public nsIDOMWindowPerformance
public PRCListStr
#ifdef MOZ_B2G
, public nsIDOMWindowB2G
#endif // MOZ_B2G
@ -393,9 +392,6 @@ public:
NS_DECL_NSISPEECHSYNTHESISGETTER
#endif // MOZ_WEBSPEECH
// nsIDOMWindowPerformance
NS_DECL_NSIDOMWINDOWPERFORMANCE
// nsIDOMJSWindow
NS_DECL_NSIDOMJSWINDOW

View File

@ -516,15 +516,6 @@ interface nsIDOMWindow : nsISupports
[implicit_jscontext] attribute jsval console;
};
[scriptable, uuid(2146c906-57f7-486c-a1b4-8cdb57ef577f)]
interface nsIDOMWindowPerformance : nsISupports
{
/**
* A namespace to hold performance related data and statistics.
*/
readonly attribute nsISupports performance;
};
/**
* Empty interface for compatibility with older versions.
* @deprecated Use nsIDOMWindow instead