<?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>231277</bug_id>
          
          <creation_ts>2021-10-05 21:51:40 -0700</creation_ts>
          <short_desc>[PlayStation] Fix build break after r283441</short_desc>
          <delta_ts>2021-10-25 19:05:17 -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>Platform</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Basuke Suzuki">basuke</reporter>
          <assigned_to name="Basuke Suzuki">basuke</assigned_to>
          <cc>achristensen</cc>
    
    <cc>basuke</cc>
    
    <cc>darin</cc>
    
    <cc>fujii</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1800941</commentid>
    <comment_count>0</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2021-10-05 21:51:40 -0700</bug_when>
    <thetext>In file included from WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-2.cpp:6:
In file included from C:/PSDev/webkit/Source/WebCore\xml/XPathFunctions.cpp:31:
In file included from C:/PSDev/webkit/Source/WebCore/dom\Element.h:32:
In file included from C:/PSDev/webkit/Source/WebCore/rendering/style\RenderStyle.h:62:
In file included from C:/PSDev/webkit/Source/WebCore/rendering/style/StyleRareNonInheritedData.h:28:
In file included from C:/PSDev/webkit/Source/WebCore/rendering\ClipPathOperation.h:33:
C:/PSDev/webkit/Source/WebCore/platform/graphics\Path.h:140:58: error: expected &apos;)&apos;
    bool strokeContains(const FloatPoint&amp;, const Function&lt;void(GraphicsContext&amp;)&gt;&amp; strokeStyleApplier) const;
                                                         ^
C:/PSDev/webkit/Source/WebCore/platform/graphics\Path.h:140:24: note: to match this &apos;(&apos;
    bool strokeContains(const FloatPoint&amp;, const Function&lt;void(GraphicsContext&amp;)&gt;&amp; strokeStyleApplier) const;
                       ^
C:/PSDev/webkit/Source/WebCore/platform/graphics\Path.h:146:48: error: expected &apos;)&apos;
    FloatRect strokeBoundingRect(const Function&lt;void(GraphicsContext&amp;)&gt;&amp; strokeStyleApplier = { }) const;
                                               ^
C:/PSDev/webkit/Source/WebCore/platform/graphics\Path.h:146:33: note: to match this &apos;(&apos;
    FloatRect strokeBoundingRect(const Function&lt;void(GraphicsContext&amp;)&gt;&amp; strokeStyleApplier = { }) const;
                                ^
2 errors generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800942</commentid>
    <comment_count>1</comment_count>
      <attachid>440329</attachid>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2021-10-05 21:58:23 -0700</bug_when>
    <thetext>Created attachment 440329
PATCH</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800962</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-10-05 23:14:43 -0700</bug_when>
    <thetext>Committed r283602 (242554@main): &lt;https://commits.webkit.org/242554@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 440329.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800963</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-10-05 23:15:20 -0700</bug_when>
    <thetext>&lt;rdar://problem/83920199&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800967</commentid>
    <comment_count>4</comment_count>
      <attachid>440329</attachid>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2021-10-05 23:33:07 -0700</bug_when>
    <thetext>Comment on attachment 440329
PATCH

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

&gt; Source/WebCore/platform/graphics/Path.h:140
&gt; +    bool strokeContains(const FloatPoint&amp;, const WTF::Function&lt;void(GraphicsContext&amp;)&gt;&amp; strokeStyleApplier) const;

This is not a right fix.
Path.h includes &lt;wtf/Forward.h&gt;, it has &quot;using WTF::Function;&quot;
You should remove all &quot;using namespace XPath;&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800974</commentid>
    <comment_count>5</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2021-10-06 00:04:50 -0700</bug_when>
    <thetext>(In reply to Fujii Hironori from comment #4)
&gt; Comment on attachment 440329 [details]
&gt; PATCH
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=440329&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/platform/graphics/Path.h:140
&gt; &gt; +    bool strokeContains(const FloatPoint&amp;, const WTF::Function&lt;void(GraphicsContext&amp;)&gt;&amp; strokeStyleApplier) const;
&gt; 
&gt; This is not a right fix.
&gt; Path.h includes &lt;wtf/Forward.h&gt;, it has &quot;using WTF::Function;&quot;
&gt; You should remove all &quot;using namespace XPath;&quot;.

We tried for days to fix that, but I gave up to fix like that. Actually in line 109, WTF prefix is already used so why not this isn&apos;t accepted?

Source\WebCore\platform\graphics\Path.h:109
&gt; using PathApplierFunction = WTF::Function&lt;void(const PathElement&amp;)&gt;;

But of course this is a build fix. Feel free to change like that but please don&apos;t revert this commit with such a reason. PlayStation port has been broken for days. We need to make it green.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801088</commentid>
    <comment_count>6</comment_count>
      <attachid>440329</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2021-10-06 08:28:10 -0700</bug_when>
    <thetext>Comment on attachment 440329
PATCH

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

&gt;&gt;&gt; Source/WebCore/platform/graphics/Path.h:140
&gt;&gt;&gt; +    bool strokeContains(const FloatPoint&amp;, const WTF::Function&lt;void(GraphicsContext&amp;)&gt;&amp; strokeStyleApplier) const;
&gt;&gt; 
&gt;&gt; This is not a right fix.
&gt;&gt; Path.h includes &lt;wtf/Forward.h&gt;, it has &quot;using WTF::Function;&quot;
&gt;&gt; You should remove all &quot;using namespace XPath;&quot;.
&gt; 
&gt; We tried for days to fix that, but I gave up to fix like that. Actually in line 109, WTF prefix is already used so why not this isn&apos;t accepted?
&gt; 
&gt; Source\WebCore\platform\graphics\Path.h:109

I agree with the comment. Removing &quot;using namespace XPath&quot; is the correct direction. Adding WTF prefixes is not our intended solution, the one in line 109 should be removed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801184</commentid>
    <comment_count>7</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2021-10-06 10:52:58 -0700</bug_when>
    <thetext>&gt; I agree with the comment. Removing &quot;using namespace XPath&quot; is the correct
&gt; direction. Adding WTF prefixes is not our intended solution, the one in line
&gt; 109 should be removed.

I believe Alex is already working on it.
https://bugs.webkit.org/show_bug.cgi?id=231186</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801199</commentid>
    <comment_count>8</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2021-10-06 11:09:10 -0700</bug_when>
    <thetext>(In reply to Basuke Suzuki from comment #7)
&gt; I believe Alex is already working on it.
&gt; https://bugs.webkit.org/show_bug.cgi?id=231186

I went a bit further in bug 231302.

Just curious: Could we now undo this WTF::Function change without re-breaking the PlayStation build?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801244</commentid>
    <comment_count>9</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2021-10-06 12:11:51 -0700</bug_when>
    <thetext>And https://bugs.webkit.org/show_bug.cgi?id=231318</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1808723</commentid>
    <comment_count>10</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2021-10-25 19:05:17 -0700</bug_when>
    <thetext>(In reply to EWS from comment #2)
&gt; Committed r283602 (242554@main): &lt;https://commits.webkit.org/242554@main&gt;

We no longer need this change. I&apos;m going to revert it in Bug 232226.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>440329</attachid>
            <date>2021-10-05 21:58:23 -0700</date>
            <delta_ts>2021-10-05 23:14:44 -0700</delta_ts>
            <desc>PATCH</desc>
            <filename>patch.diff</filename>
            <type>text/plain</type>
            <size>1803</size>
            <attacher name="Basuke Suzuki">basuke</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZwppbmRleCA3MjA2Y2JkMzBkOWEuLjU1Njg0ZjUyZjQ5MyAxMDA2NDQKLS0tIGEvU291
cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAt
MSwzICsxLDE1IEBACisyMDIxLTEwLTA1ICBCYXN1a2UgU3V6dWtpICA8YmFzdWtlLnN1enVraUBz
b255LmNvbT4KKworICAgICAgICBbUGxheVN0YXRpb25dIEZpeCBidWlsZCBicmVhayBhZnRlciBy
MjgzNDQxCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0y
MzEyNzcKKworICAgICAgICBVbnJldmlld2VkLgorCisgICAgICAgIE5vIG5ldyB0ZXN0cyBiZWNh
dXNlIHRoZXJlIGlzIG5vIGJlaGF2aW9yIGNoYW5nZS4KKworICAgICAgICAqIHBsYXRmb3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