[webkit-changes] cvs commit: WebCore/khtml khtml_part.cpp

Timothy thatcher at opensource.apple.com
Mon Oct 3 17:50:34 PDT 2005


thatcher    05/10/03 17:50:33

  Modified:    .        Tag: Safari-Den-branch ChangeLog
               khtml    Tag: Safari-Den-branch khtml_part.cpp
  Log:
          Merged fix from TOT to Safari-Den-branch
  
      2005-10-03  Justin Garcia  <justin.garcia at apple.com>
  
  		Fixes <rdar://problem/4275492> REGRESSION (SuTiDenver): EMBED tag with bogus type attribute downloads .wmv file twice (gorillamask.net)
  
          Reviewed by geoff, darin
  
          * khtml/khtml_part.cpp:
          (KHTMLPart::handleFallbackContent):
          Don't handle fallback content for <embed> tags.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.23.2.5 +14 -0     WebCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebCore/ChangeLog,v
  retrieving revision 1.1.2.23.2.4
  retrieving revision 1.1.2.23.2.5
  diff -u -r1.1.2.23.2.4 -r1.1.2.23.2.5
  --- ChangeLog	16 Sep 2005 22:14:17 -0000	1.1.2.23.2.4
  +++ ChangeLog	4 Oct 2005 00:50:26 -0000	1.1.2.23.2.5
  @@ -1,3 +1,17 @@
  +2005-10-03  Timothy Hatcher  <timothy at apple.com>
  +
  +        Merged fix from TOT to Safari-Den-branch
  +
  +    2005-10-03  Justin Garcia  <justin.garcia at apple.com>
  +
  +		Fixes <rdar://problem/4275492> REGRESSION (SuTiDenver): EMBED tag with bogus type attribute downloads .wmv file twice (gorillamask.net)
  +
  +        Reviewed by geoff, darin
  +
  +        * khtml/khtml_part.cpp:
  +        (KHTMLPart::handleFallbackContent):
  +        Don't handle fallback content for <embed> tags.
  +
   === Safari-416.8 ===
   
   2005-09-16  Timothy Hatcher  <timothy at apple.com>
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.311.8.12.2.1 +3 -3      WebCore/khtml/khtml_part.cpp
  
  Index: khtml_part.cpp
  ===================================================================
  RCS file: /cvs/root/WebCore/khtml/khtml_part.cpp,v
  retrieving revision 1.311.8.12
  retrieving revision 1.311.8.12.2.1
  diff -u -r1.311.8.12 -r1.311.8.12.2.1
  --- khtml_part.cpp	9 Aug 2005 23:52:10 -0000	1.311.8.12
  +++ khtml_part.cpp	4 Oct 2005 00:50:31 -0000	1.311.8.12.2.1
  @@ -5945,10 +5945,10 @@
       khtml::RenderPart *renderPart = childFrame->m_frame;
       if (!renderPart)
           return;
  -    HTMLObjectElementImpl* elt = static_cast<HTMLObjectElementImpl *>(renderPart->element());
  -    if (!elt)
  +    NodeImpl *node = renderPart->element();
  +    if (!node || node->id() != ID_OBJECT)
           return;
  -    elt->renderFallbackContent();
  +    static_cast<HTMLObjectElementImpl *>(node)->renderFallbackContent();
   }
   
   using namespace KParts;
  
  
  



More information about the webkit-changes mailing list