<?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>29362</bug_id>
          
          <creation_ts>2009-09-18 00:27:39 -0700</creation_ts>
          <short_desc>Qt build error in GraphicsContextQt.cpp (qt 4.4.0)</short_desc>
          <delta_ts>2009-10-06 04:27:58 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Fumitoshi Ukai">ukai</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ariya.hidayat</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>148027</commentid>
    <comment_count>0</comment_count>
    <who name="Fumitoshi Ukai">ukai</who>
    <bug_when>2009-09-18 00:27:39 -0700</bug_when>
    <thetext>../../../WebCore/platform/graphics/qt/GraphicsContextQt.cpp: In member function 
‘void WebCore::GraphicsContext::drawRect(const WebCore::IntRect&amp;)’:
../../../WebCore/platform/graphics/qt/GraphicsContextQt.cpp:425: error: no match
ing function for call to ‘QPainter::fillRect(WebCore::IntRect&amp;, WebCore::Color&amp;)
’
/usr/include/qt4/QtGui/qpainter.h:382: note: candidates are: void QPainter::fillRect(const QRectF&amp;, const QBrush&amp;)
/usr/include/qt4/QtGui/qpainter.h:714: note:                 void QPainter::fillRect(int, int, int, int, const QBrush&amp;)
/usr/include/qt4/QtGui/qpainter.h:384: note:                 void QPainter::fillRect(const QRect&amp;, const QBrush&amp;)
../../../WebCore/platform/graphics/qt/GraphicsContextQt.cpp: In member function ‘void WebCore::GraphicsContext::drawLine(const WebCore::IntPoint&amp;, const WebCore::IntPoint&amp;)’:
../../../WebCore/platform/graphics/qt/GraphicsContextQt.cpp:485: error: no matching function for call to ‘QPainter::fillRect(WebCore::FloatRect, WebCore::Color&amp;)’
/usr/include/qt4/QtGui/qpainter.h:382: note: candidates are: void QPainter::fillRect(const QRectF&amp;, const QBrush&amp;)
/usr/include/qt4/QtGui/qpainter.h:714: note:                 void QPainter::fillRect(int, int, int, int, const QBrush&amp;)
/usr/include/qt4/QtGui/qpainter.h:384: note:                 void QPainter::fillRect(const QRect&amp;, const QBrush&amp;)
../../../WebCore/platform/graphics/qt/GraphicsContextQt.cpp:486: error: no matching function for call to ‘QPainter::fillRect(WebCore::FloatRect, WebCore::Color&amp;)’
/usr/include/qt4/QtGui/qpainter.h:382: note: candidates are: void QPainter::fillRect(const QRectF&amp;, const QBrush&amp;)
/usr/include/qt4/QtGui/qpainter.h:714: note:                 void QPainter::fillRect(int, int, int, int, const QBrush&amp;)
/usr/include/qt4/QtGui/qpainter.h:384: note:                 void QPainter::fillRect(const QRect&amp;, const QBrush&amp;)
../../../WebCore/platform/graphics/qt/GraphicsContextQt.cpp:488: error: no matching function for call to ‘QPainter::fillRect(WebCore::FloatRect, WebCore::Color&amp;)’
/usr/include/qt4/QtGui/qpainter.h:382: note: candidates are: void QPainter::fillRect(const QRectF&amp;, const QBrush&amp;)
/usr/include/qt4/QtGui/qpainter.h:714: note:                 void QPainter::fillRect(int, int, int, int, const QBrush&amp;)
/usr/include/qt4/QtGui/qpainter.h:384: note:                 void QPainter::fillRect(const QRect&amp;, const QBrush&amp;)
../../../WebCore/platform/graphics/qt/GraphicsContextQt.cpp:489: error: no matching function for call to ‘QPainter::fillRect(WebCore::FloatRect, WebCore::Color&amp;)’
/usr/include/qt4/QtGui/qpainter.h:382: note: candidates are: void QPainter::fillRect(const QRectF&amp;, const QBrush&amp;)
/usr/include/qt4/QtGui/qpainter.h:714: note:                 void QPainter::fillRect(int, int, int, int, const QBrush&amp;)
/usr/include/qt4/QtGui/qpainter.h:384: note:                 void QPainter::fillRect(const QRect&amp;, const QBrush&amp;)
../../../WebCore/platform/graphics/qt/GraphicsContextQt.cpp: In function ‘void WebCore::drawBorderlessRectShadow(WebCore::GraphicsContext*, QPainter*, const WebCore::FloatRect&amp;)’:
../../../WebCore/platform/graphics/qt/GraphicsContextQt.cpp:721: error: no matching function for call to ‘QPainter::fillRect(WebCore::FloatRect&amp;, WebCore::Color&amp;)’
/usr/include/qt4/QtGui/qpainter.h:382: note: candidates are: void QPainter::fillRect(const QRectF&amp;, const QBrush&amp;)
/usr/include/qt4/QtGui/qpainter.h:714: note:                 void QPainter::fillRect(int, int, int, int, const QBrush&amp;)
/usr/include/qt4/QtGui/qpainter.h:384: note:                 void QPainter::fillRect(const QRect&amp;, const QBrush&amp;)
make[1]: *** [obj/release/GraphicsContextQt.o] Error 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>148028</commentid>
    <comment_count>1</comment_count>
    <who name="Fumitoshi Ukai">ukai</who>
    <bug_when>2009-09-18 00:32:03 -0700</bug_when>
    <thetext>gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>148029</commentid>
    <comment_count>2</comment_count>
      <attachid>39752</attachid>
    <who name="Fumitoshi Ukai">ukai</who>
    <bug_when>2009-09-18 00:35:18 -0700</bug_when>
    <thetext>Created attachment 39752
Qt build fix


---
 2 files changed, 18 insertions(+), 6 deletions(-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>148254</commentid>
    <comment_count>3</comment_count>
      <attachid>39752</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-18 11:36:08 -0700</bug_when>
    <thetext>Comment on attachment 39752
Qt build fix

This looks fine, but you should explain why this is needed in the ChangeLog.  It looks like QBrush(QPen) was marked as explicit in 4.4?

Please add some explanation to the ChangeLog on landing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>149642</commentid>
    <comment_count>4</comment_count>
      <attachid>40040</attachid>
    <who name="Fumitoshi Ukai">ukai</who>
    <bug_when>2009-09-23 20:18:56 -0700</bug_when>
    <thetext>Created attachment 40040
Qt build fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>149811</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-24 13:25:03 -0700</bug_when>
    <thetext>I have no idea what this sentence means:

 8         In Qt 4.4, QBrush constructor that takes QColor was added additional
 9         default parameter Qt::BrushStyle, so that WebCore::Color isn&apos;t
 10         converted as QBrush implicitly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>149812</commentid>
    <comment_count>6</comment_count>
      <attachid>39752</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-24 13:25:40 -0700</bug_when>
    <thetext>Comment on attachment 39752
Qt build fix

Clearing r+ on this old patch now that a new one has been posted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150003</commentid>
    <comment_count>7</comment_count>
      <attachid>40040</attachid>
    <who name="Ariya Hidayat">ariya.hidayat</who>
    <bug_when>2009-09-25 07:16:30 -0700</bug_when>
    <thetext>Comment on attachment 40040
Qt build fix

The idea is good, the implementation needs some tweak.

&gt; +        In Qt 4.4, QBrush constructor that takes QColor was added additional
&gt; +        default parameter Qt::BrushStyle, so that WebCore::Color isn&apos;t
&gt; +        converted as QBrush implicitly.

Actually, it&apos;s more like &quot;In Qt 4.5, a new function QPainter::fillRect(QRect, QColor) is introduced&quot;.
The idea is to speed up solid color fill, because we can avoid the rather expensive construction of QBrush.

&gt; -        p-&gt;fillRect(shadowRect, shadowColor);
&gt; +        p-&gt;fillRect(shadowRect, QBrush(shadowColor));

And therefore the right fix should be QColor(shadowColor). Otherwise, we keep falling back to use QBrush, thereby cancelling out the intended optimization.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150472</commentid>
    <comment_count>8</comment_count>
      <attachid>40222</attachid>
    <who name="Fumitoshi Ukai">ukai</who>
    <bug_when>2009-09-28 01:37:31 -0700</bug_when>
    <thetext>Created attachment 40222
Use QColor(shadowColor) instead of QBrush(shadowColor)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150473</commentid>
    <comment_count>9</comment_count>
    <who name="Fumitoshi Ukai">ukai</who>
    <bug_when>2009-09-28 01:38:50 -0700</bug_when>
    <thetext>Thanks for review!

(In reply to comment #7)
&gt; (From update of attachment 40040 [details])
&gt; The idea is good, the implementation needs some tweak.
&gt; 
&gt; &gt; +        In Qt 4.4, QBrush constructor that takes QColor was added additional
&gt; &gt; +        default parameter Qt::BrushStyle, so that WebCore::Color isn&apos;t
&gt; &gt; +        converted as QBrush implicitly.
&gt; 
&gt; Actually, it&apos;s more like &quot;In Qt 4.5, a new function QPainter::fillRect(QRect,
&gt; QColor) is introduced&quot;.
&gt; The idea is to speed up solid color fill, because we can avoid the rather
&gt; expensive construction of QBrush.

Ah, I see.

&gt; 
&gt; &gt; -        p-&gt;fillRect(shadowRect, shadowColor);
&gt; &gt; +        p-&gt;fillRect(shadowRect, QBrush(shadowColor));
&gt; 
&gt; And therefore the right fix should be QColor(shadowColor). Otherwise, we keep
&gt; falling back to use QBrush, thereby cancelling out the intended optimization.

Fixed to use QColor(shadowColor) instead of QBrush(shadowColor).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150586</commentid>
    <comment_count>10</comment_count>
      <attachid>40222</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-28 11:44:59 -0700</bug_when>
    <thetext>Comment on attachment 40222
Use QColor(shadowColor) instead of QBrush(shadowColor)

I&apos;m confused.

http://trac.webkit.org/browser/trunk/WebCore/platform/graphics/Color.h#L111

Transparently converts to QColor, and not to QBrush, right?  So why is an explicit conversion necessary here?  Shouldn&apos;t operator QColor automatically be called?  Or maybe I&apos;m incorrect in my understanding of the QColor operator().

I still don&apos;t understand why this is necessary?  Won&apos;t the existing code already do the right thing on either Qt 4.4 or 4.5?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150587</commentid>
    <comment_count>11</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-28 11:47:32 -0700</bug_when>
    <thetext>Clearly it&apos;s already correctly calling &quot;QRect IntRect::operator()&quot; correctly, no?
http://trac.webkit.org/browser/trunk/WebCore/platform/graphics/IntRect.h#L145

I&apos;m confused as to why we need to be explicit about calling QColor() here for C++ to understand this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150792</commentid>
    <comment_count>12</comment_count>
    <who name="Fumitoshi Ukai">ukai</who>
    <bug_when>2009-09-28 20:55:49 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; Clearly it&apos;s already correctly calling &quot;QRect IntRect::operator()&quot; correctly,
&gt; no?
&gt; http://trac.webkit.org/browser/trunk/WebCore/platform/graphics/IntRect.h#L145
&gt; 
&gt; I&apos;m confused as to why we need to be explicit about calling QColor() here for
&gt; C++ to understand this.

Here, fillRect wants a QBrush and we passes a WebCore::Color. So compiler needs to find QColor to convert from WebCore::Color to QBrush, which is different situation from IntRect to QRect (no intermediate class needed).
(In Qt 4.5, fillRect takes a QColor, so it works fine?)
I&apos;m not sure, but this is the explanation?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151174</commentid>
    <comment_count>13</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-29 23:50:59 -0700</bug_when>
    <thetext>I could believe that the compiler wouldn&apos;t understand a two-level &quot;cast&quot; like that.  But it seems it already is, no?  Isn&apos;t the QColor variant new?  Or is this bug about a build error in versions of Qt before the Qcolor version of the function existed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151193</commentid>
    <comment_count>14</comment_count>
    <who name="Fumitoshi Ukai">ukai</who>
    <bug_when>2009-09-30 02:04:27 -0700</bug_when>
    <thetext>(In reply to comment #13)
&gt; I could believe that the compiler wouldn&apos;t understand a two-level &quot;cast&quot; like
&gt; that.  But it seems it already is, no?  Isn&apos;t the QColor variant new?  Or is
&gt; this bug about a build error in versions of Qt before the Qcolor version of the
&gt; function existed?

Hmm. I encountered this bug when I first tried to compile for Qt.

It seems webkit r48220 removed QColor, and broke build on Qt 4.4?
Does Qt port requires Qt 4.5 or later now?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152637</commentid>
    <comment_count>15</comment_count>
    <who name="Ariya Hidayat">ariya.hidayat</who>
    <bug_when>2009-10-06 03:19:02 -0700</bug_when>
    <thetext>Eric: it&apos;s likely because there is no conversion from WebCore::Color to QBrush (needed for fillRect in Qt &lt; 4.5), and for which the compiler seems unable to find by itself.

Another alternative patch will be to add WebCore::Color to QBrush explicit conversion. But then, I&apos;m not sure which code path the compiler will take in 4.5 (either it will be confused due to the ambiguity or take the &quot;slower&quot; one, i.e. QBrush).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152652</commentid>
    <comment_count>16</comment_count>
      <attachid>40222</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-10-06 04:27:54 -0700</bug_when>
    <thetext>Comment on attachment 40222
Use QColor(shadowColor) instead of QBrush(shadowColor)

Clearing flags on attachment: 40222

Committed r49165: &lt;http://trac.webkit.org/changeset/49165&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152653</commentid>
    <comment_count>17</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-10-06 04:27:58 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>39752</attachid>
            <date>2009-09-18 00:35:18 -0700</date>
            <delta_ts>2009-09-24 13:25:40 -0700</delta_ts>
            <desc>Qt build fix</desc>
            <filename>bug-29362-20090918163516.patch</filename>
            <type>text/plain</type>
            <size>2758</size>
            <attacher name="Fumitoshi Ukai">ukai</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
NGExMGNjNC4uNzViNWI3MyAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNSBAQAorMjAwOS0wOS0xOCAgRnVtaXRvc2hpIFVr
YWkgIDx1a2FpQGNocm9taXVtLm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9P
UFMhKS4KKworICAgICAgICBRdCBidWlsZCBmaXguCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJr
aXQub3JnL3Nob3dfYnVnLmNnaT9pZD0yOTM2MgorCisgICAgICAgICogcGxhdGZvcm0vZ3JhcGhp
Y3MvcXQvR3JhcGhpY3NDb250ZXh0UXQuY3BwOgorICAgICAgICAoV2ViQ29yZTo6R3JhcGhpY3ND
b250ZXh0OjpkcmF3UmVjdCk6CisgICAgICAgIChXZWJDb3JlOjpHcmFwaGljc0NvbnRleHQ6OmRy
YXdMaW5lKToKKyAgICAgICAgKFdlYkNvcmU6OmRyYXdCb3JkZXJsZXNzUmVjdFNoYWRvdyk6CisK
IDIwMDktMDktMTcgIEFsYmVydCBKLiBXb25nICA8YWp3b25nQGNocm9taXVtLm9yZz4KIAogICAg
ICAgICBSZXZpZXdlZCBieSBEYXZpZCBMZXZpbi4KZGlmZiAtLWdpdCBhL1dlYkNvcmUvcGxhdGZv
cm0vZ3JhcGhpY3MvcXQvR3JhcGhpY3NDb250ZXh0UXQ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d2lkdGggLyAyLCB3aWR0aCwg
d2lkdGgpLCBRQnJ1c2goY29sb3IpKTsKICAgICAgICAgfQogCiAgICAgICAgIC8vIEV4YW1wbGU6
IDgwIHBpeGVscyB3aXRoIGEgd2lkdGggb2YgMzAgcGl4ZWxzLgpAQCAtNzE4LDcgKzcxOCw3IEBA
IHN0YXRpYyBpbmxpbmUgdm9pZCBkcmF3Qm9yZGVybGVzc1JlY3RTaGFkb3coR3JhcGhpY3NDb250
ZXh0KiBjb250ZXh0LCBRUGFpbnRlcioKICAgICBpZiAoY29udGV4dC0+Z2V0U2hhZG93KHNoYWRv
d1NpemUsIHNoYWRvd0JsdXIsIHNoYWRvd0NvbG9yKSkgewogICAgICAgICBGbG9hdFJlY3Qgc2hh
ZG93UmVjdChyZWN0KTsKICAgICAgICAgc2hhZG93UmVjdC5tb3ZlKHNoYWRvd1NpemUud2lkdGgo
KSwgc2hhZG93U2l6ZS5oZWlnaHQoKSk7Ci0gICAgICAgIHAtPmZpbGxSZWN0KHNoYWRvd1JlY3Qs
IHNoYWRvd0NvbG9yKTsKKyAgICAgICAgcC0+ZmlsbFJlY3Qoc2hhZG93UmVjdCwgUUJydXNoKHNo
YWRvd0NvbG9yKSk7CiAgICAgfQogfQ==
</data>
<flag name="commit-queue"
          id="20896"
          type_id="3"
          status="-"
          setter="eric"
    />
          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>40040</attachid>
            <date>2009-09-23 20:18:56 -0700</date>
            <delta_ts>2009-09-28 01:37:26 -0700</delta_ts>
            <desc>Qt build fix</desc>
            <filename>bug-29362-20090924121854.patch</filename>
            <type>text/plain</type>
            <size>2941</size>
            <attacher name="Fumitoshi Ukai">ukai</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
MGMwZjZhMi4uOGVhYTZkNCAxMDA2NDQKLS0tIG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sKICAgICAgICAgfQogCiAgICAgICAg
IC8vIEV4YW1wbGU6IDgwIHBpeGVscyB3aXRoIGEgd2lkdGggb2YgMzAgcGl4ZWxzLgpAQCAtNzE4
LDcgKzcxOCw3IEBAIHN0YXRpYyBpbmxpbmUgdm9pZCBkcmF3Qm9yZGVybGVzc1JlY3RTaGFkb3co
R3JhcGhpY3NDb250ZXh0KiBjb250ZXh0LCBRUGFpbnRlcioKICAgICBpZiAoY29udGV4dC0+Z2V0
U2hhZG93KHNoYWRvd1NpemUsIHNoYWRvd0JsdXIsIHNoYWRvd0NvbG9yKSkgewogICAgICAgICBG
bG9hdFJlY3Qgc2hhZG93UmVjdChyZWN0KTsKICAgICAgICAgc2hhZG93UmVjdC5tb3ZlKHNoYWRv
d1NpemUud2lkdGgoKSwgc2hhZG93U2l6ZS5oZWlnaHQoKSk7Ci0gICAgICAgIHAtPmZpbGxSZWN0
KHNoYWRvd1JlY3QsIHNoYWRvd0NvbG9yKTsKKyAgICAgICAgcC0+ZmlsbFJlY3Qoc2hhZG93UmVj
dCwgUUJydXNoKHNoYWRvd0NvbG9yKSk7CiAgICAgfQogfQ==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>40222</attachid>
            <date>2009-09-28 01:37:31 -0700</date>
            <delta_ts>2009-10-06 04:27:54 -0700</delta_ts>
            <desc>Use QColor(shadowColor) instead of QBrush(shadowColor)</desc>
            <filename>bug-29362-20090928173730.patch</filename>
            <type>text/plain</type>
            <size>3026</size>
            <attacher name="Fumitoshi Ukai">ukai</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
MDM2ZmI1ZS4uNGRkMGU0ZSAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwy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gUUNvbG9yKGNv
bG9yKSk7CiAgICAgICAgIH0KIAogICAgICAgICAvLyBFeGFtcGxlOiA4MCBwaXhlbHMgd2l0aCBh
IHdpZHRoIG9mIDMwIHBpeGVscy4KQEAgLTcxOCw3ICs3MTgsNyBAQCBzdGF0aWMgaW5saW5lIHZv
aWQgZHJhd0JvcmRlcmxlc3NSZWN0U2hhZG93KEdyYXBoaWNzQ29udGV4dCogY29udGV4dCwgUVBh
aW50ZXIqCiAgICAgaWYgKGNvbnRleHQtPmdldFNoYWRvdyhzaGFkb3dTaXplLCBzaGFkb3dCbHVy
LCBzaGFkb3dDb2xvcikpIHsKICAgICAgICAgRmxvYXRSZWN0IHNoYWRvd1JlY3QocmVjdCk7CiAg
ICAgICAgIHNoYWRvd1JlY3QubW92ZShzaGFkb3dTaXplLndpZHRoKCksIHNoYWRvd1NpemUuaGVp
Z2h0KCkpOwotICAgICAgICBwLT5maWxsUmVjdChzaGFkb3dSZWN0LCBzaGFkb3dDb2xvcik7Cisg
ICAgICAgIHAtPmZpbGxSZWN0KHNoYWRvd1JlY3QsIFFDb2xvcihzaGFkb3dDb2xvcikpOwogICAg
IH0KIH0=
</data>

          </attachment>
      

    </bug>

</bugzilla>