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

Timothy thatcher at opensource.apple.com
Mon Nov 14 11:31:21 PST 2005


thatcher    05/11/14 11:31:20

  Modified:    WebView.subproj Tag: Safari-1-3-branch WebImageView.m
  Log:
  Build fix.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.68.6.2  +2 -1      WebKit/WebView.subproj/WebImageView.m
  
  Index: WebImageView.m
  ===================================================================
  RCS file: /cvs/root/WebKit/WebView.subproj/WebImageView.m,v
  retrieving revision 1.68.6.1
  retrieving revision 1.68.6.2
  diff -u -r1.68.6.1 -r1.68.6.2
  --- WebImageView.m	13 Nov 2005 01:17:08 -0000	1.68.6.1
  +++ WebImageView.m	14 Nov 2005 19:31:20 -0000	1.68.6.2
  @@ -201,8 +201,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