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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceBase.h

Issue 2646933002: Move PerformanceBase to TaskRunnerTimer. (Closed)
Patch Set: unneeded includes Created 3 years, 11 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/timing/PerformanceBase.h
diff --git a/third_party/WebKit/Source/core/timing/PerformanceBase.h b/third_party/WebKit/Source/core/timing/PerformanceBase.h
index d4d9f6971731754c9130e8477dfeb8f1ae7594d0..ae34e98b63e9e416fd34afab4f907cd85cd5e2d0 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceBase.h
+++ b/third_party/WebKit/Source/core/timing/PerformanceBase.h
@@ -155,7 +155,7 @@ class CORE_EXPORT PerformanceBase : public EventTargetWithInlineData {
void addPaintTiming(PerformancePaintTiming::PaintType, double startTime);
protected:
- explicit PerformanceBase(double timeOrigin);
+ explicit PerformanceBase(double timeOrigin, RefPtr<WebTaskRunner>);
bool isResourceTimingBufferFull();
void addResourceTimingBuffer(PerformanceEntry&);
@@ -181,7 +181,7 @@ class CORE_EXPORT PerformanceBase : public EventTargetWithInlineData {
PerformanceObservers m_observers;
PerformanceObservers m_activeObservers;
PerformanceObservers m_suspendedObservers;
- Timer<PerformanceBase> m_deliverObservationsTimer;
+ TaskRunnerTimer<PerformanceBase> m_deliverObservationsTimer;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/timing/Performance.cpp ('k') | third_party/WebKit/Source/core/timing/PerformanceBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698