Flutter Engine
flutter::testing::TestSkObject Class Reference
Inheritance diagram for flutter::testing::TestSkObject:

Public Member Functions

 TestSkObject (std::shared_ptr< fml::AutoResetWaitableEvent > latch, fml::TaskQueueId *dtor_task_queue_id)
 
 ~TestSkObject ()
 

Detailed Description

Definition at line 19 of file skia_gpu_object_unittests.cc.

Constructor & Destructor Documentation

◆ TestSkObject()

flutter::testing::TestSkObject::TestSkObject ( std::shared_ptr< fml::AutoResetWaitableEvent latch,
fml::TaskQueueId dtor_task_queue_id 
)
inline

Definition at line 21 of file skia_gpu_object_unittests.cc.

Referenced by flutter::testing::TEST_F().

23  : latch_(latch), dtor_task_queue_id_(dtor_task_queue_id) {}

◆ ~TestSkObject()

flutter::testing::TestSkObject::~TestSkObject ( )
inline

Definition at line 25 of file skia_gpu_object_unittests.cc.

References fml::MessageLoop::GetCurrentTaskQueueId().

25  {
26  if (dtor_task_queue_id_) {
27  *dtor_task_queue_id_ = fml::MessageLoop::GetCurrentTaskQueueId();
28  }
29  latch_->Signal();
30  }
static TaskQueueId GetCurrentTaskQueueId()
Definition: message_loop.cc:76

The documentation for this class was generated from the following file: