[webkit-changes] cvs commit: WebKit/WebView.subproj WebImageView.m

John sullivan at opensource.apple.com
Fri Sep 16 17:09:13 PDT 2005


sullivan    05/09/16 17:09:13

  Modified:    .        ChangeLog
               WebView.subproj WebImageView.m
  Log:
          * WebView.subproj/WebImageView.m:
          (-[WebImageView copy:]):
          fixed build-breaking silly error in previous checkin
  
  Revision  Changes    Path
  1.3325    +6 -0      WebKit/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebKit/ChangeLog,v
  retrieving revision 1.3324
  retrieving revision 1.3325
  diff -u -r1.3324 -r1.3325
  --- ChangeLog	16 Sep 2005 23:55:18 -0000	1.3324
  +++ ChangeLog	17 Sep 2005 00:09:10 -0000	1.3325
  @@ -1,5 +1,11 @@
   2005-09-16  John Sullivan  <sullivan at apple.com>
   
  +        * WebView.subproj/WebImageView.m:
  +        (-[WebImageView copy:]):
  +        fixed build-breaking silly error in previous checkin
  +
  +2005-09-16  John Sullivan  <sullivan at apple.com>
  +
           Reviewed by Tim Omernick
           
           - fixed <rdar://problem/4256557> CrashTracer: 238 crashes in Safari at 
  
  
  
  1.74      +2 -1      WebKit/WebView.subproj/WebImageView.m
  
  Index: WebImageView.m
  ===================================================================
  RCS file: /cvs/root/WebKit/WebView.subproj/WebImageView.m,v
  retrieving revision 1.73
  retrieving revision 1.74
  diff -u -r1.73 -r1.74
  --- WebImageView.m	16 Sep 2005 23:55:21 -0000	1.73
  +++ WebImageView.m	17 Sep 2005 00:09:13 -0000	1.74
  @@ -225,8 +225,9 @@
   - (void)copy:(id)sender
   {
       NSArray *types = [NSPasteboard _web_writableTypesForImageIncludingArchive:([rep archive] != nil)];
  +    NSPasteboard *pasteboard = [NSPasteboard generalPasteboard];
       [pasteboard declareTypes:types owner:nil];
  -    [self writeImageToPasteboard:[NSPasteboard generalPasteboard] types:types];
  +    [self writeImageToPasteboard:pasteboard types:types];
   }
   
   - (BOOL)writeSelectionToPasteboard:(NSPasteboard *)pasteboard types:(NSArray *)types
  
  
  



More information about the webkit-changes mailing list