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

Unified Diff: Source/core/frame/DOMTimerCoordinator.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/frame/DOMTimer.cpp ('k') | Source/core/frame/DOMTimerCoordinator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DOMTimerCoordinator.h
diff --git a/Source/core/frame/DOMTimerCoordinator.h b/Source/core/frame/DOMTimerCoordinator.h
index ff00120e08961882b14779d384e99c36e5526dc9..76756b468766d2fa70c44937ccac0cfc33b894ed 100644
--- a/Source/core/frame/DOMTimerCoordinator.h
+++ b/Source/core/frame/DOMTimerCoordinator.h
@@ -5,7 +5,6 @@
#ifndef DOMTimerCoordinator_h
#define DOMTimerCoordinator_h
-#include "core/frame/DOMTimer.h"
#include "platform/heap/Handle.h"
#include "wtf/Noncopyable.h"
#include "wtf/PassOwnPtr.h"
@@ -28,7 +27,7 @@ public:
DOMTimerCoordinator();
// Creates and installs a new timer. Returns the assigned ID.
- int installNewTimeout(ExecutionContext*, PassOwnPtr<ScheduledAction>, int timeout, bool singleShot);
+ int installNewTimeout(ExecutionContext*, PassOwnPtrWillBeRawPtr<ScheduledAction>, int timeout, bool singleShot);
// Removes and disposes the timer with the specified ID, if any. This may
// destroy the timer.
@@ -55,7 +54,7 @@ public:
private:
int nextID();
- typedef WillBeHeapHashMap<int, RefPtrWillBeMember<DOMTimer> > TimeoutMap;
+ using TimeoutMap = WillBeHeapHashMap<int, RefPtrWillBeMember<DOMTimer>>;
TimeoutMap m_timers;
int m_circularSequentialID;
« no previous file with comments | « Source/core/frame/DOMTimer.cpp ('k') | Source/core/frame/DOMTimerCoordinator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698