mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 01:57:00 +00:00
Bug 1042654: Remove nsIDOMWindowPerformance r=bz
This commit is contained in:
parent
783bce0025
commit
c3a5b2e651
@ -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()
|
||||
{
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user