Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 3d6bcc6

Browse files
committed
more dead code
1 parent 3f72ff2 commit 3d6bcc6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

third_party/tonic/dart_state.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@ class DartState : public std::enable_shared_from_this<DartState> {
4949
Dart_Isolate isolate() { return isolate_; }
5050
void SetIsolate(Dart_Isolate isolate);
5151

52-
// TODO(https://github.com/flutter/flutter/issues/50997): Work around until we
53-
// drop the need for Dart_New in tonic.
54-
Dart_PersistentHandle private_constructor_name() {
55-
return private_constructor_name_.Get();
56-
}
57-
5852
DartClassLibrary& class_library() { return *class_library_; }
5953
DartMessageHandler& message_handler() { return *message_handler_; }
6054
FileLoader& file_loader() { return *file_loader_; }
@@ -76,7 +70,6 @@ class DartState : public std::enable_shared_from_this<DartState> {
7670

7771
private:
7872
Dart_Isolate isolate_;
79-
DartPersistentValue private_constructor_name_;
8073
std::unique_ptr<DartClassLibrary> class_library_;
8174
std::unique_ptr<DartMessageHandler> message_handler_;
8275
std::unique_ptr<FileLoader> file_loader_;

0 commit comments

Comments
 (0)