Use NativePerformanceObserver.popPendingEntries instead of getPendingEntries

Summary:
[Changelog][Internal]

The name corresponds more precisely to what the method does.

Reviewed By: christophpurrer

Differential Revision: D41686205

fbshipit-source-id: 36c47b57fdeb757515cd14b890f38247f7fe8d02
This commit is contained in:
Ruslan Shestopalyuk
2022-12-02 17:23:58 -08:00
committed by Facebook GitHub Bot
parent 3905fd4bd7
commit 862a99c491
6 changed files with 12 additions and 5 deletions
@@ -23,8 +23,8 @@ void PerformanceEntryReporter::stopReporting(PerformanceEntryType entryType) {
reportingType_[static_cast<int>(entryType)] = false;
}
std::vector<RawPerformanceEntry> PerformanceEntryReporter::getPendingEntries()
const {
const std::vector<RawPerformanceEntry>
&PerformanceEntryReporter::getPendingEntries() const {
return entries_;
}