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

Unified Diff: third_party/WebKit/Source/web/WebLeakDetector.cpp

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
« no previous file with comments | « third_party/WebKit/Source/web/WebHelperPluginImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebLeakDetector.cpp
diff --git a/third_party/WebKit/Source/web/WebLeakDetector.cpp b/third_party/WebKit/Source/web/WebLeakDetector.cpp
index 95f2fdfa178dedd8df7b6362b9a4e30e8b8b2dbf..dd51eebd21ba9d3b66ab19a8564d0f694ea74b41 100644
--- a/third_party/WebKit/Source/web/WebLeakDetector.cpp
+++ b/third_party/WebKit/Source/web/WebLeakDetector.cpp
@@ -62,8 +62,8 @@ public:
void collectGarbageAndReport() override;
private:
- void delayedGCAndReport(Timer<WebLeakDetectorImpl>*);
- void delayedReport(Timer<WebLeakDetectorImpl>*);
+ void delayedGCAndReport(TimerBase*);
+ void delayedReport(TimerBase*);
WebLeakDetectorClient* m_client;
Timer<WebLeakDetectorImpl> m_delayedGCAndReportTimer;
@@ -115,7 +115,7 @@ void WebLeakDetectorImpl::collectGarbageAndReport()
m_delayedGCAndReportTimer.startOneShot(0, BLINK_FROM_HERE);
}
-void WebLeakDetectorImpl::delayedGCAndReport(Timer<WebLeakDetectorImpl>*)
+void WebLeakDetectorImpl::delayedGCAndReport(TimerBase*)
{
// We do a second and third GC here to address flakiness
// The second GC is necessary as Resource GC may have postponed clean-up tasks to next event loop.
@@ -140,7 +140,7 @@ void WebLeakDetectorImpl::delayedGCAndReport(Timer<WebLeakDetectorImpl>*)
}
}
-void WebLeakDetectorImpl::delayedReport(Timer<WebLeakDetectorImpl>*)
+void WebLeakDetectorImpl::delayedReport(TimerBase*)
{
DCHECK(m_client);
« no previous file with comments | « third_party/WebKit/Source/web/WebHelperPluginImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698