[webkit-changes] [WebKit/WebKit] 9a4557: Use non-nullable type for PerformanceEntry::startT...
Alex Christensen
noreply at github.com
Mon May 20 16:22:44 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9a4557b59bf5a2186b95aea0fef7fbb65417d1f1
https://github.com/WebKit/WebKit/commit/9a4557b59bf5a2186b95aea0fef7fbb65417d1f1
Author: Alex Christensen <achristensen at apple.com>
Date: 2024-05-20 (Mon, 20 May 2024)
Changed paths:
M Source/WebCore/page/Performance.cpp
M Source/WebCore/page/Performance.h
M Source/WebCore/page/PerformanceEntry.h
M Source/WebCore/page/PerformanceObserver.cpp
M Source/WebCore/page/PerformanceObserver.h
M Source/WebCore/page/PerformanceObserverEntryList.cpp
M Source/WebCore/page/PerformanceObserverEntryList.h
M Source/WebCore/page/PerformanceUserTiming.cpp
M Source/WebCore/page/PerformanceUserTiming.h
Log Message:
-----------
Use non-nullable type for PerformanceEntry::startTimeCompareLessThan
https://bugs.webkit.org/show_bug.cgi?id=272723
rdar://126260830
Reviewed by Chris Dumez.
And use a WeakRef for PerformanceUserTiming.m_performance.
* Source/WebCore/page/Performance.cpp:
(WebCore::Performance::getEntries const):
(WebCore::Performance::getEntriesByType const):
(WebCore::Performance::getEntriesByName const):
(WebCore::Performance::appendBufferedEntriesByType const):
(WebCore::Performance::resourceTimingBufferFullTimerFired):
* Source/WebCore/page/Performance.h:
* Source/WebCore/page/PerformanceEntry.h:
(WebCore::PerformanceEntry::startTimeCompareLessThan):
* Source/WebCore/page/PerformanceObserver.cpp:
(WebCore::PerformanceObserver::takeRecords):
(WebCore::PerformanceObserver::queueEntry):
(WebCore::PerformanceObserver::deliver):
* Source/WebCore/page/PerformanceObserver.h:
* Source/WebCore/page/PerformanceObserverEntryList.cpp:
(WebCore::PerformanceObserverEntryList::create):
(WebCore::PerformanceObserverEntryList::PerformanceObserverEntryList):
(WebCore::PerformanceObserverEntryList::getEntriesByType const):
(WebCore::PerformanceObserverEntryList::getEntriesByName const):
* Source/WebCore/page/PerformanceObserverEntryList.h:
(WebCore::PerformanceObserverEntryList::getEntries const):
* Source/WebCore/page/PerformanceUserTiming.cpp:
(WebCore::addPerformanceEntry):
(WebCore::PerformanceUserTiming::mark):
(WebCore::PerformanceUserTiming::convertMarkToTimestamp const):
(WebCore::PerformanceUserTiming::measure):
(WebCore::convertToEntrySequence):
(WebCore::PerformanceUserTiming::getMarks const):
(WebCore::PerformanceUserTiming::getMeasures const):
* Source/WebCore/page/PerformanceUserTiming.h:
Canonical link: https://commits.webkit.org/279020@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list