mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Clean up NativePerformanceObserver API from unused methods
Summary: Now that D42097191 allows it, get rid of unused API in the related WebPerformance native modules (these were kept there only to pacify the backwards compatibility checks). Changelog: [Internal] Reviewed By: christophpurrer Differential Revision: D42037757 fbshipit-source-id: 5f5e7e76722cade9e730aba037f9e8ab51fc16d9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
88da8d99ed
commit
70a1e2b053
@@ -45,11 +45,6 @@ std::vector<RawPerformanceEntry> NativePerformanceObserver::popPendingEntries(
|
||||
return PerformanceEntryReporter::getInstance().popPendingEntries();
|
||||
}
|
||||
|
||||
std::vector<RawPerformanceEntry> NativePerformanceObserver::getPendingEntries(
|
||||
jsi::Runtime &rt) {
|
||||
return PerformanceEntryReporter::getInstance().getPendingEntries();
|
||||
}
|
||||
|
||||
void NativePerformanceObserver::setOnPerformanceEntryCallback(
|
||||
jsi::Runtime &rt,
|
||||
std::optional<AsyncCallback<>> callback) {
|
||||
|
||||
Reference in New Issue
Block a user