<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>255473</bug_id>
          
          <creation_ts>2023-04-14 16:10:46 -0700</creation_ts>
          <short_desc>Plumb shape detection API to the GPU Process</short_desc>
          <delta_ts>2023-04-20 14:13:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Images</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=255746</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>255635</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Myles C. Maxfield">mmaxfield</reporter>
          <assigned_to name="Myles C. Maxfield">mmaxfield</assigned_to>
          <cc>fujii</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1948897</commentid>
    <comment_count>0</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2023-04-14 16:10:46 -0700</bug_when>
    <thetext>Plumb shape detection API to the GPU Process</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1948898</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-04-14 16:12:31 -0700</bug_when>
    <thetext>&lt;rdar://problem/108070184&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1948906</commentid>
    <comment_count>2</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2023-04-14 16:40:28 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/12765</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949572</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-04-18 14:08:06 -0700</bug_when>
    <thetext>Committed 263094@main (f2195aa52bec): &lt;https://commits.webkit.org/263094@main&gt;

Reviewed commits have been landed. Closing PR #12765 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949625</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-04-18 18:17:09 -0700</bug_when>
    <thetext>It broke Windows port.
https://build.webkit.org/#/builders/729/builds/4229

FAILED: bin64/WebKit2.dll lib64/WebKit2.lib 
cmd.exe /C &quot;cd . &amp;&amp; C:\tools\cmake\bin\cmake.exe -E vs_link_dll --intdir=Source\WebKit\CMakeFiles\WebKit.dir --rc=&quot;C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\rc.exe&quot; --mt=&quot;C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\mt.exe&quot; --manifests  -- C:\MSVS\VC\Tools\MSVC\14.34.31933\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\WebKit.rsp  /out:bin64\WebKit2.dll /implib:lib64\WebKit2.lib /pdb:bin64\WebKit2.pdb /dll /version:0.0 /machine:x64 /DEBUG /OPT:ICF /OPT:REF /OPT:NOREF /OPT:NOICF /INCREMENTAL:NO /debug /INCREMENTAL /INCREMENTAL:NO  &amp;&amp; cd .&quot;
LINK Pass 1: command &quot;C:\MSVS\VC\Tools\MSVC\14.34.31933\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\WebKit.rsp /out:bin64\WebKit2.dll /implib:lib64\WebKit2.lib /pdb:bin64\WebKit2.pdb /dll /version:0.0 /machine:x64 /DEBUG /OPT:ICF /OPT:REF /OPT:NOREF /OPT:NOICF /INCREMENTAL:NO /debug /INCREMENTAL /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:Source\WebKit\CMakeFiles\WebKit.dir/intermediate.manifest Source\WebKit\CMakeFiles\WebKit.dir/manifest.res&quot; failed (exit code 1120) with the following output:
GeneratedSerializers.cpp.obj : error LNK2005: &quot;bool __cdecl WTF::isValidEnum&lt;enum WebCore::ShapeDetection::BarcodeFormat,void&gt;(unsigned char)&quot; (??$isValidEnum@W4BarcodeFormat@ShapeDetection@WebCore@@X@WTF@@YA_NE@Z) already defined in RemoteRenderingBackendMessageReceiver.cpp.obj
   Creating library lib64\WebKit2.lib and object lib64\WebKit2.exp
UnifiedSource-54928a2b-27.cpp.obj : error LNK2019: unresolved external symbol &quot;public: bool __cdecl IPC::MessageSender::send&lt;class Messages::WebPageProxy::StartURLSchemeTask&gt;(class Messages::WebPageProxy::StartURLSchemeTask &amp;&amp;)&quot; (??$send@VStartURLSchemeTask@WebPageProxy@Messages@@@MessageSender@IPC@@QEAA_N$$QEAVStartURLSchemeTask@WebPageProxy@Messages@@@Z) referenced in function &quot;public: void __cdecl WebKit::WebURLSchemeTaskProxy::startLoading(void)&quot; (?startLoading@WebURLSchemeTaskProxy@WebKit@@QEAAXXZ)
UnifiedSource-54928a2b-27.cpp.obj : error LNK2019: unresolved external symbol &quot;public: bool __cdecl IPC::MessageSender::send&lt;class Messages::WebPageProxy::StopURLSchemeTask&gt;(class Messages::WebPageProxy::StopURLSchemeTask &amp;&amp;)&quot; (??$send@VStopURLSchemeTask@WebPageProxy@Messages@@@MessageSender@IPC@@QEAA_N$$QEAVStopURLSchemeTask@WebPageProxy@Messages@@@Z) referenced in function &quot;public: void __cdecl WebKit::WebURLSchemeTaskProxy::stopLoading(void)&quot; (?stopLoading@WebURLSchemeTaskProxy@WebKit@@QEAAXXZ)
bin64\WebKit2.dll : fatal error LNK1120: 2 unresolved externals

This doesn&apos;t seem to be a simple problem. I&apos;m going to revert.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949634</commentid>
    <comment_count>5</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-04-18 18:44:15 -0700</bug_when>
    <thetext>263111@main reverted it.
MessageSender::send problem is a simple problem.
But, isValidEnum problem is so weird.

diff --git a/Source/WebKit/WebProcess/WebPage/WebURLSchemeTaskProxy.cpp b/Source/WebKit/WebProcess/WebPage/WebURLSchemeTaskProxy.cpp
index 0c1ef8d82b96..2429106c8c3c 100644
--- a/Source/WebKit/WebProcess/WebPage/WebURLSchemeTaskProxy.cpp
+++ b/Source/WebKit/WebProcess/WebPage/WebURLSchemeTaskProxy.cpp
@@ -27,6 +27,7 @@
 #include &quot;WebURLSchemeTaskProxy.h&quot;
 
 #include &quot;Logging.h&quot;
+#include &quot;MessageSenderInlines.h&quot;
 #include &quot;URLSchemeTaskParameters.h&quot;
 #include &quot;WebCoreArgumentCoders.h&quot;
 #include &quot;WebFrame.h&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949640</commentid>
    <comment_count>6</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-04-18 19:23:54 -0700</bug_when>
    <thetext>clang-cl also fails to link:

[6396/6554] Linking CXX shared library bin64\WebKit2.dll
FAILED: bin64/WebKit2.dll lib64/WebKit2.lib
cmd.exe /C &quot;cd . &amp;&amp; &quot;C:\Program Files\CMake\bin\cmake.exe&quot; -E vs_link_dll --intdir=Source\WebKit\CMakeFiles\WebKit.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~1\LLVM\bin\lld-link.exe /nologo @CMakeFiles\WebKit.rsp  /out:bin64\WebKit2.dll /implib:lib64\WebKit2.lib /pdb:bin64\WebKit2.pdb /dll /version:0.0 /machine:x64 /DEBUG /OPT:ICF /OPT:REF /OPT:NOREF /OPT:NOICF /INCREMENTAL:NO /debug /INCREMENTAL /INCREMENTAL:NO  &amp;&amp; cd .&quot;
LINK Pass 1: command &quot;C:\PROGRA~1\LLVM\bin\lld-link.exe /nologo @CMakeFiles\WebKit.rsp /out:bin64\WebKit2.dll /implib:lib64\WebKit2.lib /pdb:bin64\WebKit2.pdb /dll /version:0.0 /machine:x64 /DEBUG /OPT:ICF /OPT:REF /OPT:NOREF /OPT:NOICF /INCREMENTAL:NO /debug /INCREMENTAL /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:Source\WebKit\CMakeFiles\WebKit.dir/intermediate.manifest Source\WebKit\CMakeFiles\WebKit.dir/manifest.res&quot; failed (exit code 1) with the following output:
lld-link: error: duplicate symbol: bool __cdecl WTF::isValidEnum&lt;enum WebCore::ShapeDetection::BarcodeFormat, void&gt;(unsigned char)
&gt;&gt;&gt; defined at C:\home\webkit\gc\WebKitBuild\Debug\WTF\Headers\wtf\EnumTraits.h:57
&gt;&gt;&gt;            Source\WebKit\CMakeFiles\WebKit.dir\__\__\WebKit\DerivedSources\RemoteRenderingBackendMessageReceiver.cpp.obj
&gt;&gt;&gt; defined at Source\WebKit\CMakeFiles\WebKit.dir\__\__\WebKit\DerivedSources\GeneratedSerializers.cpp.obj</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949641</commentid>
    <comment_count>7</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2023-04-18 20:06:37 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/12899</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949655</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-04-18 21:26:18 -0700</bug_when>
    <thetext>Committed 263115@main (5ecd8455a80d): &lt;https://commits.webkit.org/263115@main&gt;

Reviewed commits have been landed. Closing PR #12899 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>