In file included from /opt/webkit/build/WebCore/DerivedSources/JSGPUExternalTextureDescriptor.h:23,
from /opt/webkit/build/WebCore/DerivedSources/JSGPUExternalTextureDescriptor.cpp:22,
from /opt/webkit/build/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-56.cpp:1:
/opt/webkit/Source/WebCore/Modules/WebGPU/GPUExternalTextureDescriptor.h: In static member function ‘static PAL::WebGPU::VideoSourceIdentifier WebCore::GPUExternalTextureDescriptor::mediaIdentifierForSource(const GPUVideoSource&, __CVBuffer*&)’:
/opt/webkit/Source/WebCore/Modules/WebGPU/GPUExternalTextureDescriptor.h:80:46: error: ‘class WebCore::DummyHTMLVideoElement’ has no member named ‘playerIdentifier’
80 | auto playerIdentifier = videoSource->playerIdentifier();
| ^~~~~~~~~~~~~~~~
[ 48%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-60.cpp.o
In file included from /opt/webkit/build/WebCore/DerivedSources/JSGPUExternalTextureDescriptor.h:23,
from /opt/webkit/build/WebCore/DerivedSources/JSGPUDevice.cpp:59,
from /opt/webkit/build/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-54.cpp:6:
/opt/webkit/Source/WebCore/Modules/WebGPU/GPUExternalTextureDescriptor.h: In static member function ‘static PAL::WebGPU::VideoSourceIdentifier WebCore::GPUExternalTextureDescriptor::mediaIdentifierForSource(const GPUVideoSource&, __CVBuffer*&)’:
/opt/webkit/Source/WebCore/Modules/WebGPU/GPUExternalTextureDescriptor.h:80:46: error: ‘class WebCore::DummyHTMLVideoElement’ has no member named ‘playerIdentifier’
80 | auto playerIdentifier = videoSource->playerIdentifier();
| ^~~~~~~~~~~~~~~~
In file included from /opt/webkit/build/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-56.cpp:1:
/opt/webkit/build/WebCore/DerivedSources/JSGPUExternalTextureDescriptor.cpp: In function ‘T WebCore::convertDictionary(JSC::JSGlobalObject&, JSC::JSValue) [with T = WebCore::GPUExternalTextureDescriptor]’:
/opt/webkit/build/WebCore/DerivedSources/JSGPUExternalTextureDescriptor.cpp:77:97: error: no match for ‘operator=’ (operand types are ‘WebCore::GPUVideoSource’ {aka ‘WTF::RefPtr<WebCore::DummyHTMLVideoElement>’} and ‘WebCore::Converter<WebCore::IDLInterface<WebCore::HTMLVideoElement> >::ReturnType’ {aka ‘WebCore::HTMLVideoElement*’})
77 | result.source = convert<IDLInterface<HTMLVideoElement>>(lexicalGlobalObject, sourceValue);
| ^
In file included from /opt/webkit/build/WTF/Headers/wtf/HashFunctions.h:26,
from /opt/webkit/build/WTF/Headers/wtf/CompactPtr.h:32,
from /opt/webkit/build/WTF/Headers/wtf/text/StringImpl.h:29,
from /opt/webkit/build/WTF/Headers/wtf/text/WTFString.h:28,
from /opt/webkit/build/PAL/Headers/pal/graphics/WebGPU/WebGPUObjectDescriptorBase.h:28,
from /opt/webkit/Source/WebCore/Modules/WebGPU/GPUObjectDescriptorBase.h:28,
from /opt/webkit/Source/WebCore/Modules/WebGPU/GPUExternalTextureDescriptor.h:28,
from /opt/webkit/build/WebCore/DerivedSources/JSGPUExternalTextureDescriptor.h:23,
from /opt/webkit/build/WebCore/DerivedSources/JSGPUExternalTextureDescriptor.cpp:22,
from /opt/webkit/build/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-56.cpp:1:
/opt/webkit/build/WTF/Headers/wtf/RefPtr.h:144:25: note: candidate: ‘WTF::RefPtr<T, PtrTraits, RefDerefTraits>& WTF::RefPtr<T, <template-parameter-1-2>, <template-parameter-1-3> >::operator=(const WTF::RefPtr<T, <template-parameter-1-2>, <template-parameter-1-3> >&) [with T = WebCore::DummyHTMLVideoElement; _PtrTraits = WTF::RawPtrTraits<WebCore::DummyHTMLVideoElement>; _RefDerefTraits = WTF::DefaultRefDerefTraits<WebCore::DummyHTMLVideoElement>]’
144 | inline RefPtr<T, U, V>& RefPtr<T, U, V>::operator=(const RefPtr& o)
| ^~~~~~~~~~~~~~~
/opt/webkit/build/WTF/Headers/wtf/RefPtr.h:144:66: note: no known conversion for argument 1 from ‘WebCore::Converter<WebCore::IDLInterface<WebCore::HTMLVideoElement> >::ReturnType’ {aka ‘WebCore::HTMLVideoElement*’} to ‘const WTF::RefPtr<WebCore::DummyHTMLVideoElement>&’
144 | inline RefPtr<T, U, V>& RefPtr<T, U, V>::operator=(const RefPtr& o)
| ~~~~~~~~~~~~~~^
/opt/webkit/build/WTF/Headers/wtf/RefPtr.h:161:25: note: candidate: ‘WTF::RefPtr<T, PtrTraits, RefDerefTraits>& WTF::RefPtr<T, <template-parameter-1-2>, <template-parameter-1-3> >::operator=(T*) [with T = WebCore::DummyHTMLVideoElement; _PtrTraits = WTF::RawPtrTraits<WebCore::DummyHTMLVideoElement>; _RefDerefTraits = WTF::DefaultRefDerefTraits<WebCore::DummyHTMLVideoElement>]’
161 | inline RefPtr<T, U, V>& RefPtr<T, U, V>::operator=(T* optr)
| ^~~~~~~~~~~~~~~
/opt/webkit/build/WTF/Headers/wtf/RefPtr.h:161:55: note: no known conversion for argument 1 from ‘WebCore::Converter<WebCore::IDLInterface<WebCore::HTMLVideoElement> >::ReturnType’ {aka ‘WebCore::HTMLVideoElement*’} to ‘WebCore::DummyHTMLVideoElement*’
161 | inline RefPtr<T, U, V>& RefPtr<T, U, V>::operator=(T* optr)
| ~~~^~~~
/opt/webkit/build/WTF/Headers/wtf/RefPtr.h:169:25: note: candidate: ‘WTF::RefPtr<T, PtrTraits, RefDerefTraits>& WTF::RefPtr<T, <template-parameter-1-2>, <template-parameter-1-3> >::operator=(std::nullptr_t) [with T = WebCore::DummyHTMLVideoElement; _PtrTraits = WTF::RawPtrTraits<WebCore::DummyHTMLVideoElement>; _RefDerefTraits = WTF::DefaultRefDerefTraits<WebCore::DummyHTMLVideoElement>; std::nullptr_t = std::nullptr_t]’
169 | inline RefPtr<T, U, V>& RefPtr<T, U, V>::operator=(std::nullptr_t)
| ^~~~~~~~~~~~~~~
/opt/webkit/build/WTF/Headers/wtf/RefPtr.h:169:52: note: no known conversion for argument 1 from ‘WebCore::Converter<WebCore::IDLInterface<WebCore::HTMLVideoElement> >::ReturnType’ {aka ‘WebCore::HTMLVideoElement*’} to ‘std::nullptr_t’
169 | inline RefPtr<T, U, V>& RefPtr<T, U, V>::operator=(std::nullptr_t)
| ^~~~~~~~~~~~~~
/opt/webkit/build/WTF/Headers/wtf/RefPtr.h:98:58: note: candidate: ‘template<class X, class Y, class Z> WTF::RefPtr<T, PtrTraits, RefDerefTraits>& WTF::RefPtr<T, <template-parameter-1-2>, <template-parameter-1-3> >::operator=(const WTF::RefPtr<X, Y, Z>&) [with X = X; Y = Y; Z = Z; T = WebCore::DummyHTMLVideoElement; _PtrTraits = WTF::RawPtrTraits<WebCore::DummyHTMLVideoElement>; _RefDerefTraits = WTF::DefaultRefDerefTraits<WebCore::DummyHTMLVideoElement>]’
98 | template<typename X, typename Y, typename Z> RefPtr& operator=(const RefPtr<X, Y, Z>&);
| ^~~~~~~~
/opt/webkit/build/WTF/Headers/wtf/RefPtr.h:98:58: note: template argument deduction/substitution failed:
In file included from /opt/webkit/build/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-56.cpp:1:
/opt/webkit/build/WebCore/DerivedSources/JSGPUExternalTextureDescriptor.cpp:77:97: note: mismatched types ‘const WTF::RefPtr<T, PtrTraits, RefDerefTraits>’ and ‘WebCore::Converter<WebCore::IDLInterface<WebCore::HTMLVideoElement> >::ReturnType’ {aka ‘WebCore::HTMLVideoElement*’}
77 | result.source = convert<IDLInterface<HTMLVideoElement>>(lexicalGlobalObject, sourceValue);
| ^
In file included from /opt/webkit/build/WTF/Headers/wtf/HashFunctions.h:26,
from /opt/webkit/build/WTF/Headers/wtf/CompactPtr.h:32,
from /opt/webkit/build/WTF/Headers/wtf/text/StringImpl.h:29,
from /opt/webkit/build/WTF/Headers/wtf/text/WTFString.h:28,
from /opt/webkit/build/PAL/Headers/pal/graphics/WebGPU/WebGPUObjectDescriptorBase.h:28,
from /opt/webkit/Source/WebCore/Modules/WebGPU/GPUObjectDescriptorBase.h:28,
from /opt/webkit/Source/WebCore/Modules/WebGPU/GPUExternalTextureDescriptor.h:28,
from /opt/webkit/build/WebCore/DerivedSources/JSGPUExternalTextureDescriptor.h:23,
from /opt/webkit/build/WebCore/DerivedSources/JSGPUExternalTextureDescriptor.cpp:22,
from /opt/webkit/build/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-56.cpp:1:
/opt/webkit/build/WTF/Headers/wtf/RefPtr.h:176:25: note: candidate: ‘WTF::RefPtr<T, PtrTraits, RefDerefTraits>& WTF::RefPtr<T, <template-parameter-1-2>, <template-parameter-1-3> >::operator=(WTF::RefPtr<T, <template-parameter-1-2>, <template-parameter-1-3> >&&) [with T = WebCore::DummyHTMLVideoElement; _PtrTraits = WTF::RawPtrTraits<WebCore::DummyHTMLVideoElement>; _RefDerefTraits = WTF::DefaultRefDerefTraits<WebCore::DummyHTMLVideoElement>]’
176 | inline RefPtr<T, U, V>& RefPtr<T, U, V>::operator=(RefPtr&& o)
| ^~~~~~~~~~~~~~~
/opt/webkit/build/WTF/Headers/wtf/RefPtr.h:176:61: note: no known conversion for argument 1 from ‘WebCore::Converter<WebCore::IDLInterface<WebCore::HTMLVideoElement> >::ReturnType’ {aka ‘WebCore::HTMLVideoElement*’} to ‘WTF::RefPtr<WebCore::DummyHTMLVideoElement>&&’
176 | inline RefPtr<T, U, V>& RefPtr<T, U, V>::operator=(RefPtr&& o)
| ~~~~~~~~~^
/opt/webkit/build/WTF/Headers/wtf/RefPtr.h:100:58: note: candidate: ‘template<class X, class Y, class Z> WTF::RefPtr<T, PtrTraits, RefDerefTraits>& WTF::RefPtr<T, <template-parameter-1-2>, <template-parameter-1-3> >::operator=(WTF::RefPtr<X, Y, Z>&&) [with X = X; Y = Y; Z = Z; T = WebCore::DummyHTMLVideoElement; _PtrTraits = WTF::RawPtrTraits<WebCore::DummyHTMLVideoElement>; _RefDerefTraits = WTF::DefaultRefDerefTraits<WebCore::DummyHTMLVideoElement>]’
100 | template<typename X, typename Y, typename Z> RefPtr& operator=(RefPtr<X, Y, Z>&&);
| ^~~~~~~~
/opt/webkit/build/WTF/Headers/wtf/RefPtr.h:100:58: note: template argument deduction/substitution failed:
In file included from /opt/webkit/build/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-56.cpp:1:
/opt/webkit/build/WebCore/DerivedSources/JSGPUExternalTextureDescriptor.cpp:77:97: note: mismatched types ‘WTF::RefPtr<T, PtrTraits, RefDerefTraits>’ and ‘WebCore::Converter<WebCore::IDLInterface<WebCore::HTMLVideoElement> >::ReturnType’ {aka ‘WebCore::HTMLVideoElement*’}
77 | result.source = convert<IDLInterface<HTMLVideoElement>>(lexicalGlobalObject, sourceValue);
| ^
In file included from /opt/webkit/build/WTF/Headers/wtf/HashFunctions.h:26,
from /opt/webkit/build/WTF/Headers/wtf/CompactPtr.h:32,
from /opt/webkit/build/WTF/Headers/wtf/text/StringImpl.h:29,
from /opt/webkit/build/WTF/Headers/wtf/text/WTFString.h:28,
from /opt/webkit/build/PAL/Headers/pal/graphics/WebGPU/WebGPUObjectDescriptorBase.h:28,
from /opt/webkit/Source/WebCore/Modules/WebGPU/GPUObjectDescriptorBase.h:28,
from /opt/webkit/Source/WebCore/Modules/WebGPU/GPUExternalTextureDescriptor.h:28,
from /opt/webkit/build/WebCore/DerivedSources/JSGPUExternalTextureDescriptor.h:23,
from /opt/webkit/build/WebCore/DerivedSources/JSGPUExternalTextureDescriptor.cpp:22,
from /opt/webkit/build/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-56.cpp:1:
/opt/webkit/build/WTF/Headers/wtf/RefPtr.h:194:25: note: candidate: ‘template<class X> WTF::RefPtr<T, PtrTraits, RefDerefTraits>& WTF::RefPtr<T, <template-parameter-1-2>, <template-parameter-1-3> >::operator=(WTF::Ref<X>&&) [with X = U; T = WebCore::DummyHTMLVideoElement; _PtrTraits = WTF::RawPtrTraits<WebCore::DummyHTMLVideoElement>; _RefDerefTraits = WTF::DefaultRefDerefTraits<WebCore::DummyHTMLVideoElement>]’
194 | inline RefPtr<T, V, W>& RefPtr<T, V, W>::operator=(Ref<U>&& reference)
| ^~~~~~~~~~~~~~~
/opt/webkit/build/WTF/Headers/wtf/RefPtr.h:194:25: note: template argument deduction/substitution failed:
In file included from /opt/webkit/build/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-56.cpp:1:
/opt/webkit/build/WebCore/DerivedSources/JSGPUExternalTextureDescriptor.cpp:77:97: note: mismatched types ‘WTF::Ref<T>’ and ‘WebCore::Converter<WebCore::IDLInterface<WebCore::HTMLVideoElement> >::ReturnType’ {aka ‘WebCore::HTMLVideoElement*’}
77 | result.source = convert<IDLInterface<HTMLVideoElement>>(lexicalGlobalObject, sourceValue);
| ^
OS is Debian 11, AMD64. Compiler is GCC 10. Qt is 5.15.2.
During compiling, i get this error message:
OS is Debian 11, AMD64. Compiler is GCC 10. Qt is 5.15.2.