Bug 8940

Summary: remove extra copy of image code
Product: WebKit Reporter: Darin Adler <darin>
Component: PlatformAssignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, darin, hyatt
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
patch to remove code from both WebKit and WebCore andersca: review+

Description Darin Adler 2006-05-16 09:26:28 PDT
I started removing the extra image code. For all I know Anders already started doing this, but I couldn't help myself!
Comment 1 Anders Carlsson 2006-05-16 09:56:42 PDT
How far along are you with this? I'm working on it right now and I'm almost finished (I think)
Comment 2 Darin Adler 2006-05-16 10:01:58 PDT
Created attachment 8351 [details]
patch to remove code from both WebKit and WebCore
Comment 3 Anders Carlsson 2006-05-16 10:12:31 PDT
Comment on attachment 8351 [details]
patch to remove code from both WebKit and WebCore

Looks like the way I did it, except for one thing:

I used ForElement in _web_declareAndWriteDragImageElement and _web_dragImageElement, as per John's suggestion.

Feel free to change that if you want.
Comment 4 Darin Adler 2006-05-16 11:40:42 PDT
Darn. I should have waiting. Didn't realize you were so far along!
Comment 5 Darin Adler 2006-05-16 13:12:42 PDT
(In reply to comment #3)
> I used ForElement in _web_declareAndWriteDragImageElement and
> _web_dragImageElement, as per John's suggestion.

OK. I'll do that.
Comment 6 Darin Adler 2006-05-16 15:22:26 PDT
Committed revision 14420.
Comment 7 Darin Adler 2006-05-16 15:23:33 PDT
Committed revision 14421.