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 authored and Facebook GitHub Bot committed 2022-12-02 17:23:58 -08:00
1 parent 3905fd4bd7
commit 862a99c491
6 files changed
+12 -5

No files matched your search

@@ -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_;
}