mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
Bug 1159003 - Remove Performance::GetAsISupports(), r=bz
This commit is contained in:
parent
bc3eb89dee
commit
16a1923c3b
4 changed files with 1 additions and 13 deletions
|
|
@ -542,7 +542,7 @@ Performance::Measure(JSContext* aCx,
|
|||
}
|
||||
|
||||
RefPtr<PerformanceMeasure> performanceMeasure = new PerformanceMeasure(
|
||||
GetAsISupports(), aName, startTime, endTime, detail);
|
||||
GetParentObject(), aName, startTime, endTime, detail);
|
||||
InsertUserEntry(performanceMeasure);
|
||||
|
||||
return performanceMeasure.forget();
|
||||
|
|
|
|||
|
|
@ -138,8 +138,6 @@ protected:
|
|||
void ClearUserEntries(const Optional<nsAString>& aEntryName,
|
||||
const nsAString& aEntryType);
|
||||
|
||||
virtual nsISupports* GetAsISupports() = 0;
|
||||
|
||||
virtual void DispatchBufferFullEvent() = 0;
|
||||
|
||||
virtual TimeStamp CreationTimeStamp() const = 0;
|
||||
|
|
|
|||
|
|
@ -65,11 +65,6 @@ public:
|
|||
protected:
|
||||
~PerformanceMainThread();
|
||||
|
||||
nsISupports* GetAsISupports() override
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
void InsertUserEntry(PerformanceEntry* aEntry) override;
|
||||
|
||||
DOMHighResTimeStamp
|
||||
|
|
|
|||
|
|
@ -65,11 +65,6 @@ public:
|
|||
protected:
|
||||
~PerformanceWorker();
|
||||
|
||||
nsISupports* GetAsISupports() override
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void InsertUserEntry(PerformanceEntry* aEntry) override;
|
||||
|
||||
void DispatchBufferFullEvent() override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue