| Index: sky/engine/platform/Timer.h
|
| diff --git a/sky/engine/platform/Timer.h b/sky/engine/platform/Timer.h
|
| index 7aeb2b4f9eef17cdf7737244cddf7f951b87b317..0dc1bc9e6f7f52bec20394214c333606c3f1c4ec 100644
|
| --- a/sky/engine/platform/Timer.h
|
| +++ b/sky/engine/platform/Timer.h
|
| @@ -124,10 +124,6 @@ public:
|
| private:
|
| virtual void fired() override { (m_object->*m_function)(this); }
|
|
|
| - // FIXME: oilpan: TimerBase should be moved to the heap and m_object should be traced.
|
| - // This raw pointer is safe as long as Timer<X> is held by the X itself (That's the case
|
| - // in the current code base).
|
| - GC_PLUGIN_IGNORE("363031")
|
| TimerFiredClass* m_object;
|
| TimerFiredFunction m_function;
|
| };
|
| @@ -180,10 +176,8 @@ private:
|
| (m_object->*m_function)(this);
|
| }
|
|
|
| - // FIXME: oilpan: TimerBase should be moved to the heap and m_object should be traced.
|
| // This raw pointer is safe as long as Timer<X> is held by the X itself (That's the case
|
| // in the current code base).
|
| - GC_PLUGIN_IGNORE("363031")
|
| TimerFiredClass* m_object;
|
| TimerFiredFunction m_function;
|
|
|
|
|