| Index: Source/bindings/core/v8/ScheduledAction.cpp
|
| diff --git a/Source/bindings/core/v8/ScheduledAction.cpp b/Source/bindings/core/v8/ScheduledAction.cpp
|
| index 2013751aa9286deb34960682bdf99ad499c19241..8551e79b4db1af6345e93ef37009bb3a489189f3 100644
|
| --- a/Source/bindings/core/v8/ScheduledAction.cpp
|
| +++ b/Source/bindings/core/v8/ScheduledAction.cpp
|
| @@ -46,15 +46,20 @@
|
|
|
| namespace blink {
|
|
|
| -PassOwnPtr<ScheduledAction> ScheduledAction::create(ScriptState* scriptState, const ScriptValue& handler, const Vector<ScriptValue>& arguments)
|
| +PassOwnPtrWillBeRawPtr<ScheduledAction> ScheduledAction::create(ScriptState* scriptState, const ScriptValue& handler, const Vector<ScriptValue>& arguments)
|
| {
|
| ASSERT(handler.isFunction());
|
| - return adoptPtr(new ScheduledAction(scriptState, handler, arguments));
|
| + return adoptPtrWillBeNoop(new ScheduledAction(scriptState, handler, arguments));
|
| }
|
|
|
| -PassOwnPtr<ScheduledAction> ScheduledAction::create(ScriptState* scriptState, const String& handler)
|
| +PassOwnPtrWillBeRawPtr<ScheduledAction> ScheduledAction::create(ScriptState* scriptState, const String& handler)
|
| {
|
| - return adoptPtr(new ScheduledAction(scriptState, handler));
|
| + return adoptPtrWillBeNoop(new ScheduledAction(scriptState, handler));
|
| +}
|
| +
|
| +void ScheduledAction::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_code);
|
| }
|
|
|
| ScheduledAction::~ScheduledAction()
|
|
|