| 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 6ba9a2000253cb958586e3e9a673c46ae36cae33..dd08831fa87d0ae26bf6dc33f108063dcacedb62 100644
|
| --- a/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
|
| +++ b/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
|
| @@ -320,12 +320,15 @@ bool PerformanceBase::isFrameTimingBufferFull() {
|
| void PerformanceBase::addLongTaskTiming(double startTime,
|
| double endTime,
|
| const String& name,
|
| - DOMWindow* culpritWindow) {
|
| + const String& culpritFrameSrc,
|
| + const String& culpritFrameId,
|
| + const String& culpritFrameName) {
|
| if (!hasObserverFor(PerformanceEntry::LongTask))
|
| return;
|
| PerformanceEntry* entry = PerformanceLongTaskTiming::create(
|
| monotonicTimeToDOMHighResTimeStampInMillis(startTime),
|
| - monotonicTimeToDOMHighResTimeStampInMillis(endTime), name, culpritWindow);
|
| + monotonicTimeToDOMHighResTimeStampInMillis(endTime), name,
|
| + culpritFrameSrc, culpritFrameId, culpritFrameName);
|
| notifyObserversOfEntry(*entry);
|
| }
|
|
|
|
|