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

Unified Diff: third_party/WebKit/Source/core/frame/DOMTimerCoordinator.h

Issue 1857713004: DevTools: simplify the async instrumentation harness. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: same with scriptpromiseresolver Created 4 years, 8 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
Index: third_party/WebKit/Source/core/frame/DOMTimerCoordinator.h
diff --git a/third_party/WebKit/Source/core/frame/DOMTimerCoordinator.h b/third_party/WebKit/Source/core/frame/DOMTimerCoordinator.h
index a2d17b328867246571a95867c55d1a5ce61436e5..499cbd423200d6d3745d354ba1340506edca7949 100644
--- a/third_party/WebKit/Source/core/frame/DOMTimerCoordinator.h
+++ b/third_party/WebKit/Source/core/frame/DOMTimerCoordinator.h
@@ -30,9 +30,8 @@ public:
// Creates and installs a new timer. Returns the assigned ID.
int installNewTimeout(ExecutionContext*, ScheduledAction*, int timeout, bool singleShot);
- // Removes and disposes the timer with the specified ID, if any. This may
- // destroy the timer.
- void removeTimeoutByID(int id);
+ // Removes and disposes the timer with the specified ID, if any.
+ DOMTimer* removeTimeoutByID(int id);
// Timers created during the execution of other timers, and
// repeating timers, are throttled. Timer nesting level tracks the

Powered by Google App Engine
This is Rietveld 408576698