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

Unified Diff: Source/core/frame/DOMTimer.h

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/dom/PendingScript.cpp ('k') | Source/core/frame/DOMTimer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DOMTimer.h
diff --git a/Source/core/frame/DOMTimer.h b/Source/core/frame/DOMTimer.h
index 6a81e170a8910025e23807732b7473b75e7916c9..c70cdd3ec19e994ed8b68af2b6556bd91fb22d14 100644
--- a/Source/core/frame/DOMTimer.h
+++ b/Source/core/frame/DOMTimer.h
@@ -43,7 +43,7 @@ class DOMTimer final : public RefCountedWillBeGarbageCollectedFinalized<DOMTimer
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMTimer);
public:
// Creates a new timer owned by the ExecutionContext, starts it and returns its ID.
- static int install(ExecutionContext*, PassOwnPtr<ScheduledAction>, int timeout, bool singleShot);
+ static int install(ExecutionContext*, PassOwnPtrWillBeRawPtr<ScheduledAction>, int timeout, bool singleShot);
static void removeByID(ExecutionContext*, int timeoutID);
virtual ~DOMTimer();
@@ -62,12 +62,12 @@ public:
private:
friend class DOMTimerCoordinator; // For create().
- static PassRefPtrWillBeRawPtr<DOMTimer> create(ExecutionContext* context, PassOwnPtr<ScheduledAction> action, int timeout, bool singleShot, int timeoutID)
+ static PassRefPtrWillBeRawPtr<DOMTimer> create(ExecutionContext* context, PassOwnPtrWillBeRawPtr<ScheduledAction> action, int timeout, bool singleShot, int timeoutID)
{
return adoptRefWillBeNoop(new DOMTimer(context, action, timeout, singleShot, timeoutID));
}
- DOMTimer(ExecutionContext*, PassOwnPtr<ScheduledAction>, int interval, bool singleShot, int timeoutID);
+ DOMTimer(ExecutionContext*, PassOwnPtrWillBeRawPtr<ScheduledAction>, int interval, bool singleShot, int timeoutID);
virtual void fired() override;
// Retuns timer fire time rounded to the next multiple of timer alignment interval.
@@ -75,7 +75,7 @@ private:
int m_timeoutID;
int m_nestingLevel;
- OwnPtr<ScheduledAction> m_action;
+ OwnPtrWillBeMember<ScheduledAction> m_action;
RefPtr<UserGestureToken> m_userGestureToken;
};
« no previous file with comments | « Source/core/dom/PendingScript.cpp ('k') | Source/core/frame/DOMTimer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698