| Index: third_party/WebKit/Source/modules/compositorworker/AnimatorDefinition.cpp
|
| diff --git a/third_party/WebKit/Source/modules/compositorworker/AnimatorDefinition.cpp b/third_party/WebKit/Source/modules/compositorworker/AnimatorDefinition.cpp
|
| index 225d14b74fd2bf915c44838c4d42fbaf58f60d87..b36aa1f5a7efa83741bff01ff002d00ec2dba252 100644
|
| --- a/third_party/WebKit/Source/modules/compositorworker/AnimatorDefinition.cpp
|
| +++ b/third_party/WebKit/Source/modules/compositorworker/AnimatorDefinition.cpp
|
| @@ -15,10 +15,16 @@ namespace blink {
|
| AnimatorDefinition::AnimatorDefinition(v8::Isolate* isolate,
|
| v8::Local<v8::Function> constructor,
|
| v8::Local<v8::Function> animate)
|
| - : constructor_(isolate, constructor), animate_(isolate, animate) {}
|
| + : constructor_(isolate, this, constructor),
|
| + animate_(isolate, this, animate) {}
|
|
|
| AnimatorDefinition::~AnimatorDefinition() {}
|
|
|
| +DEFINE_TRACE_WRAPPERS(AnimatorDefinition) {
|
| + visitor->TraceWrappers(constructor_.Cast<v8::Value>());
|
| + visitor->TraceWrappers(animate_.Cast<v8::Value>());
|
| +}
|
| +
|
| v8::Local<v8::Function> AnimatorDefinition::ConstructorLocal(
|
| v8::Isolate* isolate) {
|
| return constructor_.NewLocal(isolate);
|
|
|