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:
Ruslan Shestopalyuk authored and Facebook GitHub Bot committed 2022-12-16 11:45:06 -08:00
1 parent 88da8d99ed
commit 70a1e2b053
5 files changed
+6 -15

No files matched your search

@@ -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) {