<?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>45893</bug_id>
          
          <creation_ts>2010-09-16 08:26:07 -0700</creation_ts>
          <short_desc>Add the namespace in a friend declaration to get MSVC recognize it properly.</short_desc>
          <delta_ts>2010-09-16 08:40:38 -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>Forms</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>0</everconfirmed>
          <reporter name="Satish Sampath">satish</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jianli</cc>
    
    <cc>jorlow</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>280110</commentid>
    <comment_count>0</comment_count>
    <who name="Satish Sampath">satish</who>
    <bug_when>2010-09-16 08:26:07 -0700</bug_when>
    <thetext>This is a fix for a build break caused by r67614 in the chromium windows builders (which use VS 2008). Looks like without the proper namespace, the friend declaration was treated as a forward declaration and the build failed with the following error message:

1&gt;JavaScriptCore\wtf/RefCounted.h(139) : error C2248: &apos;WebCore::FileWriter::~FileWriter&apos; : cannot access private member declared in class &apos;WebCore::FileWriter&apos;
1&gt;        webcore\fileapi\FileWriter.h(124) : compiler has generated &apos;WebCore::FileWriter::~FileWriter&apos; here
1&gt;        webcore\fileapi\FileWriter.h(52) : see declaration of &apos;WebCore::FileWriter&apos;
1&gt;        JavaScriptCore\wtf/RefCounted.h(137) : while compiling class template member function &apos;void WTF::RefCounted&lt;T&gt;::deref(void)&apos;
1&gt;        with
1&gt;        [
1&gt;            T=WebCore::FileWriter
1&gt;        ]
1&gt;        webcore\fileapi\FileWriter.h(52) : see reference to class template instantiation &apos;WTF::RefCounted&lt;T&gt;&apos; being compiled
1&gt;        with
1&gt;        [
1&gt;            T=WebCore::FileWriter
1&gt;        ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280111</commentid>
    <comment_count>1</comment_count>
      <attachid>67800</attachid>
    <who name="Satish Sampath">satish</who>
    <bug_when>2010-09-16 08:28:24 -0700</bug_when>
    <thetext>Created attachment 67800
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280115</commentid>
    <comment_count>2</comment_count>
      <attachid>67800</attachid>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2010-09-16 08:33:01 -0700</bug_when>
    <thetext>Comment on attachment 67800
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280119</commentid>
    <comment_count>3</comment_count>
      <attachid>67800</attachid>
    <who name="Satish Sampath">satish</who>
    <bug_when>2010-09-16 08:40:27 -0700</bug_when>
    <thetext>Comment on attachment 67800
Patch

Clearing flags on attachment: 67800

Committed r67622: &lt;http://trac.webkit.org/changeset/67622&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>67800</attachid>
            <date>2010-09-16 08:28:24 -0700</date>
            <delta_ts>2010-09-16 08:40:27 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-45893-20100916162822.patch</filename>
            <type>text/plain</type>
            <size>1045</size>
            <attacher name="Satish Sampath">satish</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5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