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

Unified Diff: third_party/WebKit/Source/core/dom/Document.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/core/dom/Document.h ('k') | third_party/WebKit/Source/core/dom/Fullscreen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 95c5404870f1d9768adf701035a11a093fa6875f..1215c23595c4478f7d675e7ed5792f2bca7767b1 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -1931,7 +1931,7 @@ void Document::clearFocusedElementSoon()
m_clearFocusedElementTimer.startOneShot(0, BLINK_FROM_HERE);
}
-void Document::clearFocusedElementTimerFired(Timer<Document>*)
+void Document::clearFocusedElementTimerFired(TimerBase*)
{
updateStyleAndLayoutTree();
m_clearFocusedElementTimer.stop();
@@ -4826,7 +4826,7 @@ void Document::finishedParsing()
m_fetcher->clearPreloads(ResourceFetcher::ClearSpeculativeMarkupPreloads);
}
-void Document::elementDataCacheClearTimerFired(Timer<Document>*)
+void Document::elementDataCacheClearTimerFired(TimerBase*)
{
m_elementDataCache.clear();
}
@@ -5136,7 +5136,7 @@ void Document::cancelFocusAppearanceUpdate()
m_updateFocusAppearanceTimer.stop();
}
-void Document::updateFocusAppearanceTimerFired(Timer<Document>*)
+void Document::updateFocusAppearanceTimerFired(TimerBase*)
{
Element* element = focusedElement();
if (!element)
@@ -5383,7 +5383,7 @@ bool Document::isDelayingLoadEvent()
return m_loadEventDelayCount;
}
-void Document::loadEventDelayTimerFired(Timer<Document>*)
+void Document::loadEventDelayTimerFired(TimerBase*)
{
if (frame())
frame()->loader().checkCompleted();
@@ -5396,7 +5396,7 @@ void Document::loadPluginsSoon()
m_pluginLoadingTimer.startOneShot(0, BLINK_FROM_HERE);
}
-void Document::pluginLoadingTimerFired(Timer<Document>*)
+void Document::pluginLoadingTimerFired(TimerBase*)
{
updateStyleAndLayout();
}
@@ -5751,7 +5751,7 @@ void Document::removeFormAssociation(Element* element)
{
}
-void Document::didAssociateFormControlsTimerFired(Timer<Document>* timer)
+void Document::didAssociateFormControlsTimerFired(TimerBase* timer)
{
ASSERT_UNUSED(timer, timer == &m_didAssociateFormControlsTimer);
if (!frame() || !frame()->page())
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.h ('k') | third_party/WebKit/Source/core/dom/Fullscreen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698