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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.h

Issue 2191533003: Refactor Timer classes in preparation for landing FrameTimers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android build fix 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/loader/FrameLoader.h
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.h b/third_party/WebKit/Source/core/loader/FrameLoader.h
index d137ce523251890025d573303a5b296e99ae9a28..b4e621a2209fa429aff56873fa2220c8f9859b4d 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.h
@@ -192,8 +192,8 @@ public:
static void setReferrerForFrameRequest(FrameLoadRequest&);
private:
- void checkTimerFired(Timer<FrameLoader>*);
- void didAccessInitialDocumentTimerFired(Timer<FrameLoader>*);
+ void checkTimerFired(TimerBase*);
+ void didAccessInitialDocumentTimerFired(TimerBase*);
bool prepareRequestForThisFrame(FrameLoadRequest&);
FrameLoadType determineFrameLoadType(const FrameLoadRequest&);
@@ -274,7 +274,7 @@ private:
bool m_inStopAllLoaders;
- Timer<FrameLoader> m_checkTimer;
+ TaskRunnerTimer<FrameLoader> m_checkTimer;
haraken 2016/07/28 14:44:46 Is this change needed?
dcheng 2016/07/29 02:23:18 Yes: in this CL, Timer no longer takes a TaskRunne
bool m_didAccessInitialDocument;

Powered by Google App Engine
This is Rietveld 408576698