Bug 217633

Summary: Clean up the API tests of CARingBuffer
Product: WebKit Reporter: Peng Liu <peng.liu6>
Component: New BugsAssignee: Peng Liu <peng.liu6>
Status: RESOLVED FIXED    
Severity: Normal CC: sam, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Revise the patch according to Sam's comment none

Description Peng Liu 2020-10-12 14:15:59 PDT
Clean up the API tests of CARingBuffer
Comment 1 Peng Liu 2020-10-12 14:18:18 PDT
Created attachment 411157 [details]
Patch
Comment 2 Sam Weinig 2020-10-12 14:53:01 PDT
Comment on attachment 411157 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=411157&action=review

> Tools/TestWebKitAPI/Tests/WebCore/CARingBuffer.cpp:28
> +#if PLATFORM(COCOA)

Maybe HAVE(CORE_AUDIO) or HAVE(AUDIO_TOOLBOX) instead?
Comment 3 Peng Liu 2020-10-12 15:25:11 PDT
Comment on attachment 411157 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=411157&action=review

>> Tools/TestWebKitAPI/Tests/WebCore/CARingBuffer.cpp:28
>> +#if PLATFORM(COCOA)
> 
> Maybe HAVE(CORE_AUDIO) or HAVE(AUDIO_TOOLBOX) instead?

Yes, good point! Thanks!
Comment 4 Peng Liu 2020-10-12 15:41:59 PDT
Created attachment 411176 [details]
Revise the patch according to Sam's comment
Comment 5 EWS 2020-10-13 09:56:42 PDT
Committed r268397: <https://trac.webkit.org/changeset/268397>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 411176 [details].
Comment 6 Radar WebKit Bug Importer 2020-10-13 09:57:15 PDT
<rdar://problem/70256224>