<?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>128490</bug_id>
          
          <creation_ts>2014-02-08 23:19:14 -0800</creation_ts>
          <short_desc>[iOS][wk2] ASSERT(WebThreadIsCurrent()) in [WebDisplayLinkHandler handleDisplayLink:]</short_desc>
          <delta_ts>2014-02-09 16:21:37 -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>WebCore Misc.</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Horton">thorton</reporter>
          <assigned_to name="Tim Horton">thorton</assigned_to>
          <cc>andersca</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dino</cc>
    
    <cc>sam</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>978533</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2014-02-08 23:19:14 -0800</bug_when>
    <thetext>[WebDisplayLinkHandler handleDisplayLink:] has an ASSERT(WebThreadIsCurrent()).

We don&apos;t use the Web Thread in WebKit2, but it looks to me like isMainThread() does the right thing (main thread if web thread is disabled, web thread otherwise), so let&apos;s use that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>978534</commentid>
    <comment_count>1</comment_count>
      <attachid>223613</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2014-02-08 23:21:47 -0800</bug_when>
    <thetext>Created attachment 223613
patch

Hopefully someone can clarify if isMainThead does the right thing. And maybe we should audit other callers of WebThreadIsCurrent?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>978665</commentid>
    <comment_count>2</comment_count>
      <attachid>223613</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-02-09 16:21:34 -0800</bug_when>
    <thetext>Comment on attachment 223613
patch

Clearing flags on attachment: 223613

Committed r163758: &lt;http://trac.webkit.org/changeset/163758&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>978666</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-02-09 16:21:37 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>223613</attachid>
            <date>2014-02-08 23:21:47 -0800</date>
            <delta_ts>2014-02-09 16:21:34 -0800</delta_ts>
            <desc>patch</desc>
            <filename>wt.diff</filename>
            <type>text/plain</type>
            <size>1506</size>
            <attacher name="Tim Horton">thorton</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZwppbmRleCAzMzZiNzBiLi5mZGQ4YTMwIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViQ29y
ZS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTgg
QEAKKzIwMTQtMDItMDggIFRpbSBIb3J0b24gIDx0aW1vdGh5X2hvcnRvbkBhcHBsZS5jb20+CisK
KyAgICAgICAgW2lPU11bd2syXSBBU1NFUlQoV2ViVGhyZ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