Chromium Code Reviews| 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 34e5c21a2ecb14b3e75d0ed2193810a804571e36..610555e33cf915a0635bc186f3cd0f2832775ddf 100644 | 
| --- a/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.h | 
| +++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.h | 
| @@ -11,13 +11,14 @@ | 
| namespace blink { | 
| +class LocalFrame; | 
| class ThreadedWorkletGlobalScopeProxy; | 
| class WorkletGlobalScopeProxy; | 
| class MODULES_EXPORT AnimationWorklet final : public Worklet { | 
| WTF_MAKE_NONCOPYABLE(AnimationWorklet); | 
| public: | 
| - static AnimationWorklet* create(ExecutionContext*); | 
| + static AnimationWorklet* create(LocalFrame*); | 
| ~AnimationWorklet() override; | 
| WorkletGlobalScopeProxy* workletGlobalScopeProxy() const final; | 
| @@ -25,7 +26,7 @@ public: | 
| DECLARE_VIRTUAL_TRACE(); | 
| private: | 
| - AnimationWorklet(ExecutionContext*); | 
| + AnimationWorklet(LocalFrame*); | 
| 
 
yhirano
2016/08/01 10:56:27
+explicit
 
Gleb Lanbin
2016/08/01 19:49:50
Done.
 
 | 
| // TODO(ikilpatrick): this will change to a raw ptr once we have a thread. | 
| std::unique_ptr<ThreadedWorkletGlobalScopeProxy> m_workletGlobalScopeProxy; |