| 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);
|
|
|
|
|