[webkit-changes] cvs commit: WebCore/kwq WebCoreBridge.mm

Timothy thatcher at opensource.apple.com
Thu Nov 10 10:39:00 PST 2005


thatcher    05/11/10 10:39:00

  Modified:    .        Tag: Safari-2-0-branch ChangeLog
               kwq      Tag: Safari-2-0-branch WebCoreBridge.mm
  Log:
          Merged fix from TOT to Safari-2-0-branch
  
      2005-10-03  Justin Garcia  <justin.garcia at apple.com>
  
          Reviewed by darin
  
          <rdar://problem/4060947> Safari crashes trying to save PDF file as web archive (NULL KHTMLPart)
  
          * kwq/WebCoreBridge.mm:
          (+[WebCoreBridge bridgeForDOMDocument:]):
          Added a check for a null part.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.43  +14 -0     WebCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebCore/ChangeLog,v
  retrieving revision 1.1.2.42
  retrieving revision 1.1.2.43
  diff -u -r1.1.2.42 -r1.1.2.43
  --- ChangeLog	10 Nov 2005 18:22:26 -0000	1.1.2.42
  +++ ChangeLog	10 Nov 2005 18:38:47 -0000	1.1.2.43
  @@ -2,6 +2,20 @@
   
           Merged fix from TOT to Safari-2-0-branch
   
  +    2005-10-03  Justin Garcia  <justin.garcia at apple.com>
  +   
  +        Reviewed by darin
  +        
  +        <rdar://problem/4060947> Safari crashes trying to save PDF file as web archive (NULL KHTMLPart)
  +
  +        * kwq/WebCoreBridge.mm:
  +        (+[WebCoreBridge bridgeForDOMDocument:]):
  +        Added a check for a null part.
  +
  +2005-11-10  Timothy Hatcher  <timothy at apple.com>
  +
  +        Merged fix from TOT to Safari-2-0-branch
  +
       2005-10-28  Beth Dakin  <bdakin at apple.com>
   
           Reviewed by John
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.382.2.11 +2 -1      WebCore/kwq/WebCoreBridge.mm
  
  Index: WebCoreBridge.mm
  ===================================================================
  RCS file: /cvs/root/WebCore/kwq/WebCoreBridge.mm,v
  retrieving revision 1.382.2.10
  retrieving revision 1.382.2.11
  diff -u -r1.382.2.10 -r1.382.2.11
  --- WebCoreBridge.mm	10 Nov 2005 18:22:35 -0000	1.382.2.10
  +++ WebCoreBridge.mm	10 Nov 2005 18:38:57 -0000	1.382.2.11
  @@ -230,7 +230,8 @@
   
   + (WebCoreBridge *)bridgeForDOMDocument:(DOMDocument *)document
   {
  -    return ((KWQKHTMLPart *)[document _documentImpl]->part())->bridge();
  +    KHTMLPart *part = [document _documentImpl]->part();
  +    return part ? KWQ(part)->bridge() : nil;
   }
   
   - init
  
  
  



More information about the webkit-changes mailing list