X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=Source%2FWebKit2%2FUIProcess%2FProcessThrottler.h;h=f30c1b6eafe113d8064796af1fddbce176e5e4c8;hp=c7129ccde0fb8b57af685412b6bdbaed8300134a;hb=173907ec430a2a4b500d8d58e6e141e8454686b9;hpb=3c5f3caa21f7e95e36aabb4c7bc3d1ca4af9fcf6 diff --git a/Source/WebKit2/UIProcess/ProcessThrottler.h b/Source/WebKit2/UIProcess/ProcessThrottler.h index c7129ccde0fb..f30c1b6eafe1 100644 --- a/Source/WebKit2/UIProcess/ProcessThrottler.h +++ b/Source/WebKit2/UIProcess/ProcessThrottler.h @@ -28,7 +28,7 @@ #include "ProcessAssertion.h" -#include +#include #include namespace WebKit { @@ -69,12 +69,12 @@ private: AssertionState assertionState(); void updateAssertion(); void updateAssertionNow(); - void suspendTimerFired(WebCore::Timer*); + void suspendTimerFired(); WebProcessProxy* m_process; WeakPtrFactory m_weakPtrFactory; std::unique_ptr m_assertion; - WebCore::Timer m_suspendTimer; + RunLoop::Timer m_suspendTimer; unsigned m_foregroundCount; unsigned m_backgroundCount; int m_suspendMessageCount;