<?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>35082</bug_id>
          
          <creation_ts>2010-02-18 02:25:03 -0800</creation_ts>
          <short_desc>[Haiku] Fix conversion from BString to String for real.</short_desc>
          <delta_ts>2010-02-23 08:32:15 -0800</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>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</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="Stephan Aßmus">superstippi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>simon.maxime</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>191500</commentid>
    <comment_count>0</comment_count>
    <who name="Stephan Aßmus">superstippi</who>
    <bug_when>2010-02-18 02:25:03 -0800</bug_when>
    <thetext>The previous patch to this file was broken (sorry). First of all, the conversion from UTF8 was accidentally removed. Second, for empty strings, we need to point the implementation at StringImpl::empty().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>191501</commentid>
    <comment_count>1</comment_count>
      <attachid>48988</attachid>
    <who name="Stephan Aßmus">superstippi</who>
    <bug_when>2010-02-18 02:27:58 -0800</bug_when>
    <thetext>Created attachment 48988
Fixes conversion from BString to String

This patch fixes the conversion for real. Patch is again r54932 and does not depend on any other patches.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>191502</commentid>
    <comment_count>2</comment_count>
    <who name="Stephan Aßmus">superstippi</who>
    <bug_when>2010-02-18 02:29:47 -0800</bug_when>
    <thetext>BTW, the include sorting is correct, the style bot doesn&apos;t handle this case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192611</commentid>
    <comment_count>3</comment_count>
      <attachid>48988</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-02-22 14:04:09 -0800</bug_when>
    <thetext>Comment on attachment 48988
Fixes conversion from BString to String

Changing bstring to string makes this more confusing to my eyes.

Otherwise this looks sane.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192966</commentid>
    <comment_count>4</comment_count>
      <attachid>48988</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-02-23 08:32:11 -0800</bug_when>
    <thetext>Comment on attachment 48988
Fixes conversion from BString to String

Clearing flags on attachment: 48988

Committed r55154: &lt;http://trac.webkit.org/changeset/55154&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192967</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-02-23 08:32:15 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>48988</attachid>
            <date>2010-02-18 02:27:58 -0800</date>
            <delta_ts>2010-02-23 08:32:11 -0800</delta_ts>
            <desc>Fixes conversion from BString to String</desc>
            <filename>string.diff</filename>
            <type>text/plain</type>
            <size>2071</size>
            <attacher name="Stephan Aßmus">superstippi</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNv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