<?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>42569</bug_id>
          
          <creation_ts>2010-07-19 08:10:46 -0700</creation_ts>
          <short_desc>[EFL] Fix some EFL theme issues</short_desc>
          <delta_ts>2010-07-19 09:06:29 -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>WebKit EFL</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</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="Rafael Antognolli">antognolli+webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>barbieri</cc>
    
    <cc>commit-queue</cc>
    
    <cc>lucas.de.marchi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>253217</commentid>
    <comment_count>0</comment_count>
    <who name="Rafael Antognolli">antognolli+webkit</who>
    <bug_when>2010-07-19 08:10:46 -0700</bug_when>
    <thetext>[EFL] Fix some EFL theme issues</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>253224</commentid>
    <comment_count>1</comment_count>
      <attachid>61957</attachid>
    <who name="Rafael Antognolli">antognolli+webkit</who>
    <bug_when>2010-07-19 08:13:56 -0700</bug_when>
    <thetext>Created attachment 61957
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>253232</commentid>
    <comment_count>2</comment_count>
      <attachid>61957</attachid>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-07-19 08:24:49 -0700</bug_when>
    <thetext>Comment on attachment 61957
Patch


&gt; +        Keep a pointer to theme filename and check for it correctly.

What was wrong previously? from what I understood, instead of having &apos;theme&apos; and &apos;file&apos; variables you changed to only have &apos;file&apos;, or you really fixing a problem?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>253237</commentid>
    <comment_count>3</comment_count>
    <who name="Gustavo Sverzut Barbieri">barbieri</who>
    <bug_when>2010-07-19 08:37:04 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 61957 [details])
&gt; 
&gt; &gt; +        Keep a pointer to theme filename and check for it correctly.
&gt; 
&gt; What was wrong previously? from what I understood, instead of having &apos;theme&apos; and &apos;file&apos; variables you changed to only have &apos;file&apos;, or you really fixing a problem?

The good old annoyance of storing &quot;const char*&quot; that is return of a dynamically allocated String::utf8().data(). Now it is being stored in CString and used as CString::data(), for immediate use, retaining the memory.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>253238</commentid>
    <comment_count>4</comment_count>
    <who name="Lucas De Marchi">lucas.de.marchi</who>
    <bug_when>2010-07-19 08:38:51 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 61957 [details])
&gt; 
&gt; &gt; +        Keep a pointer to theme filename and check for it correctly.
&gt; 
&gt; What was wrong previously? from what I understood, instead of having &apos;theme&apos; and &apos;file&apos; variables you changed to only have &apos;file&apos;, or you really fixing a problem?

He was fixing a problem:

&gt; - file = edjeThemeRecursive().utf8().data();

The object returned by .utf8() will die as soon as .data() is returned. Thus &apos;file&apos; will point for a memory area that is not allocated anymore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>253246</commentid>
    <comment_count>5</comment_count>
      <attachid>61957</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-07-19 09:06:25 -0700</bug_when>
    <thetext>Comment on attachment 61957
Patch

Clearing flags on attachment: 61957

Committed r63666: &lt;http://trac.webkit.org/changeset/63666&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>253247</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-07-19 09:06:29 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>61957</attachid>
            <date>2010-07-19 08:13:56 -0700</date>
            <delta_ts>2010-07-19 09:06:25 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-42569-20100719121354.patch</filename>
            <type>text/plain</type>
            <size>2297</size>
            <attacher name="Rafael Antognolli">antognolli+webkit</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
MDI5OGNlYTA3N2RkOTI3ODM1NzZjZDVmZmExYmNlYjYzM2Y1MmJjNS4uNWI0YjMzMzYzODljMDU5
MzMyMjFmNmUzNjc3MTVhMWY3MzAyMDFhNiAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cK
KysrIGIvV2ViQ29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwyMCBAQAorMjAxMC0wNy0xOSAgUmFm
YWVsIEFudG9nbm9sbGkgIDxhbnRvZ25vbGxpQHByb2Z1c2lvbi5tb2JpPgorCisgICAgICAgIFJl
dmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFtFRkxdIEZpeCBzb21lIEVGTCB0
aGVtZSBpc3N1ZXMKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dp
P2lkPTQyNTY5CisKKyAgICAgICAgS2VlcCBhIHBvaW50ZXIgdG8gdGhlbWUgZmlsZW5hbWUgYW5k
IGNoZW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T5tX2N1cnNvck9iamVjdCwgJncsICZoKTsKQEAgLTI2Niw3ICsyNjEsNyBAQCB2b2lkIFdp
ZGdldDo6YXBwbHlDdXJzb3IoKQogCiB2b2lkIFdpZGdldDo6c2V0Q3Vyc29yKGNvbnN0IEN1cnNv
ciYgY3Vyc29yKQogewotICAgIGlmICghcGxhdGZvcm1XaWRnZXQoKSB8fCAhZXZhcygpKQorICAg
IGlmICghZXZhcygpKQogICAgICAgICAgcmV0dXJuOwogCiAgICAgY29uc3QgY2hhciAqZ3JvdXAg
PSBjdXJzb3IuaW1wbCgpOwo=
</data>

          </attachment>
      

    </bug>

</bugzilla>