Commit 67ba8ce8 authored by sullivan's avatar sullivan
Browse files

* WebView.subproj/WebImageView.m:

        (-[WebImageView copy:]):
        fixed build-breaking silly error in previous checkin


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 5c30a54c
2005-09-16 John Sullivan <sullivan@apple.com>
* WebView.subproj/WebImageView.m:
(-[WebImageView copy:]):
fixed build-breaking silly error in previous checkin
2005-09-16 John Sullivan <sullivan@apple.com>
 
Reviewed by Tim Omernick
......@@ -225,8 +225,9 @@ - (BOOL)writeImageToPasteboard:(NSPasteboard *)pasteboard types:(NSArray *)types
- (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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment