| Index: third_party/WebKit/Source/core/timing/PerformanceBase.cpp
|
| diff --git a/third_party/WebKit/Source/core/timing/PerformanceBase.cpp b/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
|
| index 0973c1ac4a82d820e1579aaedba1b3a404a39cb0..eaeb6580d4104477ae6741b69fbc5d48c8151214 100644
|
| --- a/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
|
| +++ b/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
|
| @@ -361,13 +361,14 @@ bool PerformanceBase::isFrameTimingBufferFull() {
|
|
|
| void PerformanceBase::addLongTaskTiming(double startTime,
|
| double endTime,
|
| - const String& frameContextUrl) {
|
| + const String& name,
|
| + DOMWindow* culpritWindow) {
|
| if (isLongTaskTimingBufferFull() ||
|
| !hasObserverFor(PerformanceEntry::LongTask))
|
| return;
|
| PerformanceEntry* entry = PerformanceLongTaskTiming::create(
|
| monotonicTimeToDOMHighResTimeStampInMillis(startTime),
|
| - monotonicTimeToDOMHighResTimeStampInMillis(endTime), frameContextUrl);
|
| + monotonicTimeToDOMHighResTimeStampInMillis(endTime), name, culpritWindow);
|
| notifyObserversOfEntry(*entry);
|
| addLongTaskTimingBuffer(*entry);
|
| }
|
|
|