Bug 5643

Summary: setDragImage fails when passed Image object
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: JavaScriptCoreAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Return an NSImage instead
darin: review+
just for grins, here's the patch I meant none

Description Anders Carlsson 2005-11-06 06:29:34 PST
On debug builds, setDragImage fails with an assertion when the object passed in is an image. This is 
because KWQClipboard::dragNSImage incorrectly returns a WebImageRenderer object instead of an 
NSImage.
Comment 1 Anders Carlsson 2005-11-06 06:32:32 PST
Created attachment 4612 [details]
Return an NSImage instead
Comment 2 Darin Adler 2005-11-06 11:55:45 PST
Comment on attachment 4612 [details]
Return an NSImage instead

I've got a patch that includes this change and many others like this, already
reviewed and ready to check in. But I haven't had a chance to land it yet.
Comment 3 Darin Adler 2005-11-06 12:07:49 PST
Created attachment 4615 [details]
just for grins, here's the patch I meant

Actually, it's not reviewed. I'll attach it here anyway.