Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Unified Diff: Source/core/frame/DOMWindowTimers.cpp

Issue 847803002: Make ScriptStreamer and dependents Oilpan friendly. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add ScriptSourceCode::isNull() comment Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/DOMTimerCoordinator.cpp ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « Source/core/frame/DOMTimerCoordinator.cpp ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698