Index: Source/core/frame/DOMWindowTimers.cpp |
diff --git a/Source/core/frame/DOMWindowTimers.cpp b/Source/core/frame/DOMWindowTimers.cpp |
index ad9871d4daacf296460280b101d9b1913338c5dd..232d4710c7588624b29252f0d308cba8d14fd9b3 100644 |
--- a/Source/core/frame/DOMWindowTimers.cpp |
+++ b/Source/core/frame/DOMWindowTimers.cpp |
@@ -76,7 +76,7 @@ int setTimeout(ScriptState* scriptState, EventTarget& eventTarget, const ScriptV |
// be done using the scheduler instead. |
V8GCForContextDispose::instance().notifyIdle(); |
} |
- OwnPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler, arguments); |
+ OwnPtrWillBeRawPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler, arguments); |
return DOMTimer::install(executionContext, action.release(), timeout, true); |
} |
@@ -94,7 +94,7 @@ int setTimeout(ScriptState* scriptState, EventTarget& eventTarget, const String& |
// be done using the scheduler instead. |
V8GCForContextDispose::instance().notifyIdle(); |
} |
- OwnPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler); |
+ OwnPtrWillBeRawPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler); |
return DOMTimer::install(executionContext, action.release(), timeout, true); |
} |
@@ -103,7 +103,7 @@ int setInterval(ScriptState* scriptState, EventTarget& eventTarget, const Script |
ExecutionContext* executionContext = eventTarget.executionContext(); |
if (!isAllowed(executionContext, false)) |
return 0; |
- OwnPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler, arguments); |
+ OwnPtrWillBeRawPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler, arguments); |
return DOMTimer::install(executionContext, action.release(), timeout, false); |
} |
@@ -116,7 +116,7 @@ int setInterval(ScriptState* scriptState, EventTarget& eventTarget, const String |
// perfomance issue. |
if (handler.isEmpty()) |
return 0; |
- OwnPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler); |
+ OwnPtrWillBeRawPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler); |
return DOMTimer::install(executionContext, action.release(), timeout, false); |
} |