mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-25 00:27:29 +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(
|
RefPtr<PerformanceMeasure> performanceMeasure = new PerformanceMeasure(
|
||||||
GetAsISupports(), aName, startTime, endTime, detail);
|
GetParentObject(), aName, startTime, endTime, detail);
|
||||||
InsertUserEntry(performanceMeasure);
|
InsertUserEntry(performanceMeasure);
|
||||||
|
|
||||||
return performanceMeasure.forget();
|
return performanceMeasure.forget();
|
||||||
|
|
|
||||||
|
|
@ -138,8 +138,6 @@ protected:
|
||||||
void ClearUserEntries(const Optional<nsAString>& aEntryName,
|
void ClearUserEntries(const Optional<nsAString>& aEntryName,
|
||||||
const nsAString& aEntryType);
|
const nsAString& aEntryType);
|
||||||
|
|
||||||
virtual nsISupports* GetAsISupports() = 0;
|
|
||||||
|
|
||||||
virtual void DispatchBufferFullEvent() = 0;
|
virtual void DispatchBufferFullEvent() = 0;
|
||||||
|
|
||||||
virtual TimeStamp CreationTimeStamp() const = 0;
|
virtual TimeStamp CreationTimeStamp() const = 0;
|
||||||
|
|
|
||||||
|
|
@ -65,11 +65,6 @@ public:
|
||||||
protected:
|
protected:
|
||||||
~PerformanceMainThread();
|
~PerformanceMainThread();
|
||||||
|
|
||||||
nsISupports* GetAsISupports() override
|
|
||||||
{
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
void InsertUserEntry(PerformanceEntry* aEntry) override;
|
void InsertUserEntry(PerformanceEntry* aEntry) override;
|
||||||
|
|
||||||
DOMHighResTimeStamp
|
DOMHighResTimeStamp
|
||||||
|
|
|
||||||
|
|
@ -65,11 +65,6 @@ public:
|
||||||
protected:
|
protected:
|
||||||
~PerformanceWorker();
|
~PerformanceWorker();
|
||||||
|
|
||||||
nsISupports* GetAsISupports() override
|
|
||||||
{
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
void InsertUserEntry(PerformanceEntry* aEntry) override;
|
void InsertUserEntry(PerformanceEntry* aEntry) override;
|
||||||
|
|
||||||
void DispatchBufferFullEvent() override
|
void DispatchBufferFullEvent() override
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue