Index: third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.h |
diff --git a/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.h b/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.h |
index cbb75791952925d26fd7c3fefa697f9f285a3c2a..c77fd8fe5ecdcdd55ad5dedacdb75c5382f31b4a 100644 |
--- a/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.h |
+++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.h |
@@ -12,7 +12,7 @@ |
namespace blink { |
class LocalFrame; |
-class ThreadedWorkletMessagingProxy; |
+class ThreadedWorkletGlobalScopeProxy; |
class WorkletGlobalScopeProxy; |
class MODULES_EXPORT AnimationWorklet final : public Worklet { |
@@ -28,9 +28,8 @@ |
private: |
explicit AnimationWorklet(LocalFrame*); |
- // The proxy outlives the worklet as it is used to perform thread shutdown, |
- // it deletes itself once this has occured. |
- ThreadedWorkletMessagingProxy* const m_workletMessagingProxy; |
+ // TODO(ikilpatrick): this will change to a raw ptr once we have a thread. |
+ std::unique_ptr<ThreadedWorkletGlobalScopeProxy> m_workletGlobalScopeProxy; |
}; |
} // namespace blink |