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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorDOMAgent.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
Index: third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
index 22e36492c4b31ee7cbc5e6c5591d318c61bab528..a81d2cc29b075c0576a2fb02765e824443c67e5d 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
@@ -143,7 +143,7 @@ public:
explicit InspectorRevalidateDOMTask(InspectorDOMAgent*);
void scheduleStyleAttrRevalidationFor(Element*);
void reset() { m_timer.stop(); }
- void onTimer(Timer<InspectorRevalidateDOMTask>*);
+ void onTimer(TimerBase*);
DECLARE_TRACE();
private:
@@ -165,7 +165,7 @@ void InspectorRevalidateDOMTask::scheduleStyleAttrRevalidationFor(Element* eleme
m_timer.startOneShot(0, BLINK_FROM_HERE);
}
-void InspectorRevalidateDOMTask::onTimer(Timer<InspectorRevalidateDOMTask>*)
+void InspectorRevalidateDOMTask::onTimer(TimerBase*)
{
// The timer is stopped on m_domAgent destruction, so this method will never be called after m_domAgent has been destroyed.
HeapVector<Member<Element>> elements;

Powered by Google App Engine
This is Rietveld 408576698