<?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>187404</bug_id>
          
          <creation_ts>2018-07-06 13:01:48 -0700</creation_ts>
          <short_desc>Check that LayerTreeHost was created before use</short_desc>
          <delta_ts>2018-07-09 20:06:25 -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>WebKit 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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stephan Szabo">stephan.szabo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>basuke</cc>
    
    <cc>cgarcia</cc>
    
    <cc>commit-queue</cc>
    
    <cc>fujii</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>ross.kirsling</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1439881</commentid>
    <comment_count>0</comment_count>
    <who name="Stephan Szabo">stephan.szabo</who>
    <bug_when>2018-07-06 13:01:48 -0700</bug_when>
    <thetext>Check that LayerTreeHost was created before use</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1439884</commentid>
    <comment_count>1</comment_count>
      <attachid>344443</attachid>
    <who name="Stephan Szabo">stephan.szabo</who>
    <bug_when>2018-07-06 13:03:39 -0700</bug_when>
    <thetext>Created attachment 344443
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1439885</commentid>
    <comment_count>2</comment_count>
    <who name="Stephan Szabo">stephan.szabo</who>
    <bug_when>2018-07-06 13:05:21 -0700</bug_when>
    <thetext>I&apos;m not sure if this is the best way to handle this, but while working on web inspector for wincairo non-legacy, we hit crashes just after this point because LayerTreeHost::create returns nullptr if not USE(COORDINATED_GRAPHICS_THREADED) but this code acts as if it will always get one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1440288</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-07-08 22:00:28 -0700</bug_when>
    <thetext>I think Windows WK2 MiniBrowser should disable AC by using WKPreferencesSetAcceleratedDrawingEnabled until AC is supported.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1440294</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-07-08 22:12:10 -0700</bug_when>
    <thetext>Ah. Your primary aim is the web inspector. IIRC, the web inspector is using AC to paint element highlights.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1440332</commentid>
    <comment_count>5</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-07-09 01:59:53 -0700</bug_when>
    <thetext>Stephan, what will happen in AC mode pages after applying your change? All becomes blank pages instead of having crash?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1440466</commentid>
    <comment_count>6</comment_count>
      <attachid>344443</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-07-09 11:21:08 -0700</bug_when>
    <thetext>Comment on attachment 344443
Patch

Clearing flags on attachment: 344443

Committed r233647: &lt;https://trac.webkit.org/changeset/233647&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1440467</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-07-09 11:21:10 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1440468</commentid>
    <comment_count>8</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-07-09 11:27:22 -0700</bug_when>
    <thetext>&lt;rdar://problem/41981386&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1440704</commentid>
    <comment_count>9</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-07-09 20:06:25 -0700</bug_when>
    <thetext>Bug 187503 – [Win][MiniBrowser] Disable accelerated compositing until it is supported</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>344443</attachid>
            <date>2018-07-06 13:03:39 -0700</date>
            <delta_ts>2018-07-09 11:21:08 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-187404-20180706130338.patch</filename>
            <type>text/plain</type>
            <size>1443</size>
            <attacher name="Stephan Szabo">stephan.szabo</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjMzMzYwCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0L0No
YW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nCmluZGV4IDFkN2ViNzk2OWVmOGQ5OTE2
ZTZhMmM3NjIzYmQzZjRhODQ2NTg4NGEuLmZhNWNhMTdkNjUzOTcyZjg4NGUyZjI1MTIzNTQ1NDli
ZDAxOTkwNDMgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nCisrKyBiL1NvdXJj
ZS9XZWJLaXQvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTMgQEAKKzIwMTgtMDctMDYgIFN0ZXBoYW4g
U3phYm8gIDxzdGVwaGFuLnN6YWJvQHNvbnkuY29tPgorCisgICAgICAgIENoZWNrIHRoYXQgTGF5
ZXJUcmVlS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