<?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>154104</bug_id>
          
          <creation_ts>2016-02-11 03:26:28 -0800</creation_ts>
          <short_desc>Fix the !(ENABLE(SVG_FONTS) || ENABLE(SVG_OTF_CONVERTER)) build after r196322</short_desc>
          <delta_ts>2016-02-15 04:28:25 -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>New Bugs</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=154035</see_also>
          <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>153414</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Csaba Osztrogonác">ossy</assigned_to>
          <cc>achristensen</cc>
    
    <cc>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>koivisto</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1163730</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-02-11 03:26:28 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/196322 broke the !(ENABLE(SVG_FONTS) || ENABLE(SVG_OTF_CONVERTER))
build, because CSSFontFaceSource::CSSFontFaceSource:m_svgFontFaceElement is declared
inside ifdef guards, but initialized uncionditionally in the init list of the constructor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1163731</commentid>
    <comment_count>1</comment_count>
      <attachid>271055</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-02-11 03:33:20 -0800</bug_when>
    <thetext>Created attachment 271055
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1163733</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-02-11 03:43:40 -0800</bug_when>
    <thetext>Or should we declare m_svgFontFaceElement unconditionally?
( similar to bug154035 )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1163752</commentid>
    <comment_count>3</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2016-02-11 08:57:40 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Or should we declare m_svgFontFaceElement unconditionally?
&gt; ( similar to bug154035 )
I think that would be cleaner.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1163758</commentid>
    <comment_count>4</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2016-02-11 09:30:52 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; Or should we declare m_svgFontFaceElement unconditionally?
&gt; &gt; ( similar to bug154035 )
&gt; I think that would be cleaner.

I agree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1163845</commentid>
    <comment_count>5</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2016-02-11 13:31:28 -0800</bug_when>
    <thetext>EWS was all green on http://trac.webkit.org/changeset/196322 :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1164073</commentid>
    <comment_count>6</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-02-12 02:02:53 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; (In reply to comment #2)
&gt; &gt; &gt; Or should we declare m_svgFontFaceElement unconditionally?
&gt; &gt; &gt; ( similar to bug154035 )
&gt; &gt; I think that would be cleaner.
&gt; 
&gt; I agree.

I checked it in details, it&apos;s impossible.

m_svgFontFaceElement has RefPtr&lt;SVGFontFaceElement&gt; type and 
SVGFontFaceElement class is defined inside ENABLE(SVG_FONTS) guard.

To be able to use RefPtr&lt;SVGFontFaceElement&gt; type, we have to
remove ENABLE(SVG_FONTS) guard from SVGFontFaceElement.h and
I think transitionally all ENABLE(SVG_FONTS) guards everywhere.

The question is if we want to support !ENABLE(SVG_FONTS) build or not.
If yes, we should land my previously proposed patch. If not, we should
remove all ENABLE(SVG_FONTS) guards.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1164074</commentid>
    <comment_count>7</comment_count>
      <attachid>271055</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-02-12 02:03:39 -0800</bug_when>
    <thetext>Comment on attachment 271055
Patch

r? again, maybe we would like to keep !ENABLE(SVG_FONTS) build configuration work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1164199</commentid>
    <comment_count>8</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2016-02-12 10:44:36 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; (In reply to comment #4)
&gt; &gt; (In reply to comment #3)
&gt; &gt; &gt; (In reply to comment #2)
&gt; &gt; &gt; &gt; Or should we declare m_svgFontFaceElement unconditionally?
&gt; &gt; &gt; &gt; ( similar to bug154035 )
&gt; &gt; &gt; I think that would be cleaner.
&gt; &gt; 
&gt; &gt; I agree.
&gt; 
&gt; I checked it in details, it&apos;s impossible.
&gt; 
&gt; m_svgFontFaceElement has RefPtr&lt;SVGFontFaceElement&gt; type and 
&gt; SVGFontFaceElement class is defined inside ENABLE(SVG_FONTS) guard.
&gt; 
&gt; To be able to use RefPtr&lt;SVGFontFaceElement&gt; type, we have to
&gt; remove ENABLE(SVG_FONTS) guard from SVGFontFaceElement.h and
&gt; I think transitionally all ENABLE(SVG_FONTS) guards everywhere.
&gt; 
&gt; The question is if we want to support !ENABLE(SVG_FONTS) build or not.
&gt; If yes, we should land my previously proposed patch. If not, we should
&gt; remove all ENABLE(SVG_FONTS) guards.

FWIW, I am very close to enabling the SVG font converter on Windows, and I hope the remaining ports will be quick to follow. I hope to remove all the SVG font code (in favor of the converter) in a few weeks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1164722</commentid>
    <comment_count>9</comment_count>
      <attachid>271055</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-02-15 04:28:20 -0800</bug_when>
    <thetext>Comment on attachment 271055
Patch

Clearing flags on attachment: 271055

Committed r196576: &lt;http://trac.webkit.org/changeset/196576&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1164723</commentid>
    <comment_count>10</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-02-15 04:28:25 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>271055</attachid>
            <date>2016-02-11 03:33:20 -0800</date>
            <delta_ts>2016-02-15 04:28:20 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-154104-20160211123257.patch</filename>
            <type>text/plain</type>
            <size>1512</size>
            <attacher name="Csaba Osztrogonác">ossy</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTk2NDE3CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggNjg4ZWExZDM1ZGJjMWJl
ZTlhYzVmZmZlYzQ3MzI3OTgyOWJjNWRkNC4uMzJlZGEzOWVmNTViMGI0MGZlOGFkNmEyMTQzNTYw
YTQxOGVhZmM0YiAxMDA2NDQKLS0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