haikuwebkit/Source/WebCore/PAL/pal/system/mac
Peng Liu 0af4ad0eea [GPUProcess] MediaController is using a ClockCM
https://bugs.webkit.org/show_bug.cgi?id=222094

Reviewed by Eric Carlson.

Source/WebCore:

No new tests. Fix test failures.

* html/MediaController.cpp: Some minor clean-up.
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
A minor clean-up.

Source/WebCore/PAL:

Remove `ClockCM` and use `ClockGeneric` instead because `ClockCM::currentTime()`
always returns NaN when "Media in GPU Process" is enabled.

* PAL.xcodeproj/project.pbxproj:
* pal/PlatformMac.cmake:
* pal/system/mac/ClockCM.h: Removed.
* pal/system/mac/ClockCM.mm: Removed.

LayoutTests:

* platform/wk2/TestExpectations:


Canonical link: https://commits.webkit.org/234856@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@273895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-04 17:55:21 +00:00
..
DefaultSearchProvider.cpp
DefaultSearchProvider.h
PopupMenu.h
PopupMenu.mm
SoundMac.mm
SystemSleepListenerMac.h
SystemSleepListenerMac.mm
WebPanel.h
WebPanel.mm