<?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>173130</bug_id>
          
          <creation_ts>2017-06-08 22:54:35 -0700</creation_ts>
          <short_desc>Use WTF::getCurrentProcessID() instead of getpid().</short_desc>
          <delta_ts>2017-06-13 12:50:43 -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>WebKit2</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daewoong Jang">daewoong.jang</reporter>
          <assigned_to name="Daewoong Jang">daewoong.jang</assigned_to>
          <cc>achristensen</cc>
    
    <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>thorton</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1317221</commentid>
    <comment_count>0</comment_count>
    <who name="Daewoong Jang">daewoong.jang</who>
    <bug_when>2017-06-08 22:54:35 -0700</bug_when>
    <thetext>Use WTF::getCurrentProcessID() instead of getpid().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1317222</commentid>
    <comment_count>1</comment_count>
      <attachid>312387</attachid>
    <who name="Daewoong Jang">daewoong.jang</who>
    <bug_when>2017-06-08 22:56:15 -0700</bug_when>
    <thetext>Created attachment 312387
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1317333</commentid>
    <comment_count>2</comment_count>
      <attachid>312387</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-06-09 03:39:59 -0700</bug_when>
    <thetext>Comment on attachment 312387
patch

Clearing flags on attachment: 312387

Committed r217975: &lt;http://trac.webkit.org/changeset/217975&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1317334</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-06-09 03:40:01 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1318519</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-06-12 18:14:40 -0700</bug_when>
    <thetext>Out of curiosity, what is the benefit of one over another here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1318524</commentid>
    <comment_count>5</comment_count>
    <who name="Daewoong Jang">daewoong.jang</who>
    <bug_when>2017-06-12 18:36:54 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #4)
&gt; Out of curiosity, what is the benefit of one over another here?

Now it can be compiled for more platforms(e.g. Windows).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1318527</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-06-12 18:52:44 -0700</bug_when>
    <thetext>This is WebKit2 code, and WebKit2 does not support Windows. That would be large undertaking, which should be discussed on webkit-dev before starting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1318530</commentid>
    <comment_count>7</comment_count>
    <who name="Daewoong Jang">daewoong.jang</who>
    <bug_when>2017-06-12 18:59:43 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #6)
&gt; This is WebKit2 code, and WebKit2 does not support Windows. That would be
&gt; large undertaking, which should be discussed on webkit-dev before starting.

You are right if we are going to support WebKit2 on Windows, but this patch does not intend to do such a thing. I think it would not be a harm to use existing platform abstraction of WTF.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1318750</commentid>
    <comment_count>8</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2017-06-13 12:50:43 -0700</bug_when>
    <thetext>This is like https://bugs.webkit.org/show_bug.cgi?id=172667#c8
I want to keep accepting patches like this, but discuss on webkit-dev before deciding if we want to officially support large amounts of code.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>312387</attachid>
            <date>2017-06-08 22:56:15 -0700</date>
            <delta_ts>2017-06-09 03:39:59 -0700</delta_ts>
            <desc>patch</desc>
            <filename>bug173130.diff</filename>
            <type>text/plain</type>
            <size>1496</size>
            <attacher name="Daewoong Jang">daewoong.jang</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDIxNzk2MykKKysrIFNvdXJjZS9XZWJLaXQyL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDEyIEBACisyMDE3LTA2LTA4ICBEYWV3b29u
ZyBKYW5nICA8ZGFld29vbmcuamFuZ0BuYXZlcmNvcnAuY29tPgorCisgICAgICAgIFVzZSBXVEY6
OmdldEN1cnJlbnRQcm9jZXNzSUQoKSBpbnN0ZWFkIG9mIGdldHBpZCgpCisgICAgICAgIGh0dHBz
Oi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xNzMxMzAKKworICAgICAgICBSZXZp
ZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICAqIFVJUHJvY2Vzcy9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