mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
3905fd4bd7
commit
862a99c491
@@ -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_;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user