<?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>137916</bug_id>
          
          <creation_ts>2014-10-21 04:53:37 -0700</creation_ts>
          <short_desc>REGRESSION(r174676): It broke the !ENABLE(VIDEO) build</short_desc>
          <delta_ts>2014-10-21 11:09:55 -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>New Bugs</component>
          <version>528+ (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>
          
          <blocked>137683</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>cdumez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>esprehn+autocc</cc>
    
    <cc>glenn</cc>
    
    <cc>kondapallykalyan</cc>
    
    <cc>mihnea</cc>
    
    <cc>ossy</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1043153</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2014-10-21 04:53:37 -0700</bug_when>
    <thetext>error log:
../../Source/WebCore/rendering/RenderLayerBacking.cpp: In member function &apos;bool WebCore::RenderLayerBacking::isDirectlyCompositedImage() const&apos;:
../../Source/WebCore/rendering/RenderLayerBacking.cpp:1823:44: error: &apos;RenderMedia&apos; was not declared in this scope
../../Source/WebCore/rendering/RenderLayerBacking.cpp:1823:67: error: no matching function for call to &apos;is(WebCore::RenderLayerModelObject&amp;)&apos;

RenderMedia class is inside ENABLE(VIDEO) guard, that&apos;s why it causes build failure.
The previous renderer().isMedia() worked, because isMedia() is defined unconditionally
in RenderObject (returns false) - the base class of RenderMedia (returns true).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043195</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2014-10-21 09:43:43 -0700</bug_when>
    <thetext>Thanks for the bug report Ossy, I&apos;m on it!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043197</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2014-10-21 09:46:10 -0700</bug_when>
    <thetext>Committed r174978: &lt;http://trac.webkit.org/changeset/174978&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043207</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2014-10-21 09:57:12 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Committed r174978: &lt;http://trac.webkit.org/changeset/174978&gt;

But the whole RenderMedia.h is inside ENABLE(VIDEO) guard, it can&apos;t
fix the build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043208</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2014-10-21 09:58:56 -0700</bug_when>
    <thetext>Apparently did not fix the build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043211</commentid>
    <comment_count>5</comment_count>
      <attachid>240210</attachid>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2014-10-21 10:06:25 -0700</bug_when>
    <thetext>Created attachment 240210
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043212</commentid>
    <comment_count>6</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2014-10-21 10:07:07 -0700</bug_when>
    <thetext>Ossy, sorry about the quick / insufficient build fix. What do you think about this one?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043213</commentid>
    <comment_count>7</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2014-10-21 10:12:08 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; Ossy, sorry about the quick / insufficient build fix. What do you think
&gt; about this one?

Looks good for the error in the description, let me check if it is enough, 
maybe there are other issues later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043220</commentid>
    <comment_count>8</comment_count>
      <attachid>240210</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2014-10-21 10:33:34 -0700</bug_when>
    <thetext>Comment on attachment 240210
Patch

Thanks, I tested, it is enough to fix the build, r=me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043221</commentid>
    <comment_count>9</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2014-10-21 10:34:17 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; Comment on attachment 240210 [details]
&gt; Patch
&gt; 
&gt; Thanks, I tested, it is enough to fix the build, r=me.

Great, thanks for double-checking and sorry about the breakage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043231</commentid>
    <comment_count>10</comment_count>
      <attachid>240210</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-10-21 11:09:48 -0700</bug_when>
    <thetext>Comment on attachment 240210
Patch

Clearing flags on attachment: 240210

Committed r174989: &lt;http://trac.webkit.org/changeset/174989&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043232</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-10-21 11:09:55 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>240210</attachid>
            <date>2014-10-21 10:06:25 -0700</date>
            <delta_ts>2014-10-21 11:09:48 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-137916-20141021100631.patch</filename>
            <type>text/plain</type>
            <size>1996</size>
            <attacher name="Chris Dumez">cdumez</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTc0OTc4CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggNGJlN2EzN2RiMTY1NGY4
NDQxYTliZDY3OTc5ZGU1NTVmNGE3NzQyYy4uNjBkMTMxMTg4ODljYjY1NzRjYjA0Y2EwYTIyY2Fk
NzVhY2ZiNjg4NyAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMyw2ICszLDE5IEBACiAgICAgICAgIFJFR1JFU1NJ
T04ocjE3NDY3Nik6IEl0IGJyb2tlIHRoZSAhRU5BQkxFKFZJREVPKSBidWlsZAogICAgICAgICBo
dHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTM3OTE2CiAKKyAgICAgICAg
UmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgRml4IHRoZSAhRU5BQkxFKFZJ
REVPKSBidWlsZCBieSBhZGRpbmcgYW4gI2lmIEVOQUJMRShWSURFTykgd2hlcmUKKyAgICAgICAg
bmVlZGVkLgorCisgICAgICAgICogcmVuZGVyaW5nL1JlbmRlckxheWVyQmFja2luZy5jcHA6Cisg
ICAgICAgIChXZWJDb3JlOjpSZW5kZXJMYXllckJhY2tpbmc6OmlzRGlyZWN0bHlDb21wb3NpdGVk
SW1hZ2UpOgorCisyMDE0LTEwLTIxICBDaHJpcyB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ZiAoIWlzPFJlbmRlckltYWdl
PihyZW5kZXJlcigpKSB8fCBpczxSZW5kZXJNZWRpYT4ocmVuZGVyZXIoKSkgfHwgbV9vd25pbmdM
YXllci5oYXNCb3hEZWNvcmF0aW9uc09yQmFja2dyb3VuZCgpIHx8IHJlbmRlcmVyKCkuaGFzQ2xp
cCgpKQorICAgIGlmICghaXM8UmVuZGVySW1hZ2U+KHJlbmRlcmVyKCkpIHx8IG1fb3duaW5nTGF5
ZXIuaGFzQm94RGVjb3JhdGlvbnNPckJhY2tncm91bmQoKSB8fCByZW5kZXJlcigpLmhhc0NsaXAo
KSkKICAgICAgICAgcmV0dXJuIGZhbHNlOwogCisjaWYgRU5BQkxFKFZJREVPKQorICAgIGlmIChp
czxSZW5kZXJNZWRpYT4ocmVuZGVyZXIoKSkpCisgICAgICAgIHJldHVybiBmYWxzZTsKKyNlbmRp
ZgorCiAgICAgYXV0byYgaW1hZ2VSZW5kZXJlciA9IGRvd25jYXN0PFJlbmRlckltYWdlPihyZW5k
ZXJlcigpKTsKICAgICBpZiAoQ2FjaGVkSW1hZ2UqIGNhY2hlZEltYWdlID0gaW1hZ2VSZW5kZXJl
ci5jYWNoZWRJbWFnZSgpKSB7CiAgICAgICAgIGlmICghY2FjaGVkSW1hZ2UtPmhhc0ltYWdlKCkp
Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>