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

Unified Diff: third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp

Issue 2191533003: Refactor Timer classes in preparation for landing FrameTimers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/websockets/DOMWebSocket.cpp
diff --git a/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp b/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp
index b30348d408ffac02a2f1c89da3292893ffdff40b..75453668eabbab85d644ff1fb57a81f5d46ae09e 100644
--- a/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp
+++ b/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp
@@ -145,7 +145,7 @@ void DOMWebSocket::EventQueue::dispatchQueuedEvents()
}
}
-void DOMWebSocket::EventQueue::resumeTimerFired(Timer<EventQueue>*)
+void DOMWebSocket::EventQueue::resumeTimerFired(TimerBase*)
{
ASSERT(m_state == Suspended);
m_state = Active;
@@ -363,7 +363,7 @@ void DOMWebSocket::updateBufferedAmountAfterClose(uint64_t payloadSize)
logError("WebSocket is already in CLOSING or CLOSED state.");
}
-void DOMWebSocket::reflectBufferedAmountConsumption(Timer<DOMWebSocket>*)
+void DOMWebSocket::reflectBufferedAmountConsumption(TimerBase*)
{
ASSERT(m_bufferedAmount >= m_consumedBufferedAmount);
// Cast to unsigned long long is required since clang doesn't accept

Powered by Google App Engine
This is Rietveld 408576698