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

Unified Diff: third_party/WebKit/Source/modules/mediacapturefromelement/TimedCanvasDrawListener.h

Issue 2191533003: Refactor Timer classes in preparation for landing FrameTimers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More build fixes Created 4 years, 5 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/modules/mediacapturefromelement/TimedCanvasDrawListener.h
diff --git a/third_party/WebKit/Source/modules/mediacapturefromelement/TimedCanvasDrawListener.h b/third_party/WebKit/Source/modules/mediacapturefromelement/TimedCanvasDrawListener.h
index 039fc1622a3478c730261f5de6ab10b99abff81a..638e4fcc4a97f05bc318e486aa2a18775ede3bb9 100644
--- a/third_party/WebKit/Source/modules/mediacapturefromelement/TimedCanvasDrawListener.h
+++ b/third_party/WebKit/Source/modules/mediacapturefromelement/TimedCanvasDrawListener.h
@@ -24,10 +24,10 @@ public:
private:
TimedCanvasDrawListener(std::unique_ptr<WebCanvasCaptureHandler>, double frameRate);
// Implementation of TimerFiredFunction.
- void requestFrameTimerFired(Timer<TimedCanvasDrawListener>*);
+ void requestFrameTimerFired(TimerBase*);
double m_frameInterval;
- UnthrottledTimer<TimedCanvasDrawListener> m_requestFrameTimer;
+ UnthrottledThreadTimer<TimedCanvasDrawListener> m_requestFrameTimer;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698