mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
926ab6ca26
commit
3fb3ce4fa2
-2
@@ -20,8 +20,6 @@ using namespace facebook::jni;
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
TextLayoutManager::~TextLayoutManager() = default;
|
||||
|
||||
void *TextLayoutManager::getNativeTextLayoutManager() const {
|
||||
return self_;
|
||||
}
|
||||
|
||||
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user