Delete TextMeasurement destructor

Summary:
TextMeasurement destructor is not necessary, we are deleting it

changelog: [internal] internal

Reviewed By: JoshuaGross

Differential Revision: D34246015

fbshipit-source-id: 6ca4803fafc8b195828d546ba8fb45353257f383
This commit is contained in:
David Vacca
2022-02-27 22:23:48 -08:00
committed by Facebook GitHub Bot
parent 926ab6ca26
commit 3fb3ce4fa2
4 changed files with 0 additions and 6 deletions
@@ -20,8 +20,6 @@ using namespace facebook::jni;
namespace facebook {
namespace react {
TextLayoutManager::~TextLayoutManager() = default;
void *TextLayoutManager::getNativeTextLayoutManager() const {
return self_;
}
@@ -34,7 +34,6 @@ class TextLayoutManager {
contextContainer->at<bool>("EnableLargeTextMeasureCache")
? 1024
: kSimpleThreadSafeCacheSizeCap) {}
~TextLayoutManager();
/*
* Not copyable.
@@ -10,8 +10,6 @@
namespace facebook {
namespace react {
TextLayoutManager::~TextLayoutManager() {}
void *TextLayoutManager::getNativeTextLayoutManager() const {
return (void *)this;
}
@@ -29,7 +29,6 @@ using SharedTextLayoutManager = std::shared_ptr<const TextLayoutManager>;
class TextLayoutManager {
public:
TextLayoutManager(const ContextContainer::Shared &contextContainer) {}
~TextLayoutManager();
/*
* Measures `attributedStringBox` using native text rendering infrastructure.