Index: third_party/WebKit/Source/core/timing/Performance.cpp |
diff --git a/third_party/WebKit/Source/core/timing/Performance.cpp b/third_party/WebKit/Source/core/timing/Performance.cpp |
index be8ca988df6026ca8dcce36cc0795cb4392c98e0..73e47a0bbbf924537b63adc815000e870c0dcefc 100644 |
--- a/third_party/WebKit/Source/core/timing/Performance.cpp |
+++ b/third_party/WebKit/Source/core/timing/Performance.cpp |
@@ -35,6 +35,7 @@ |
#include "bindings/core/v8/V8ObjectBuilder.h" |
#include "core/dom/Document.h" |
#include "core/dom/QualifiedName.h" |
+#include "core/dom/TaskRunnerHelper.h" |
#include "core/frame/DOMWindow.h" |
#include "core/frame/LocalFrame.h" |
#include "core/frame/UseCounter.h" |
@@ -100,7 +101,9 @@ static double toTimeOrigin(LocalFrame* frame) { |
} |
Performance::Performance(LocalFrame* frame) |
- : PerformanceBase(toTimeOrigin(frame)), |
+ : PerformanceBase( |
+ toTimeOrigin(frame), |
+ TaskRunnerHelper::get(TaskType::PerformanceTimeline, frame)), |
ContextLifecycleObserver(frame ? frame->document() : nullptr) {} |
Performance::~Performance() { |