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

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: 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 ebe02147c587ba0630091e46f7d4cb0720aecd48..3b99002f8da918acd85da672fcf1c7e7f0e7f2ca 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*, RawPtr<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