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
2022-12-16 11:45:06 -08:00
committed by Facebook GitHub Bot
parent 88da8d99ed
commit 70a1e2b053
5 changed files with 6 additions and 15 deletions
@@ -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) {