Now that we have a way to turn images to GdkPixbuf's, we can enable the code that is commented out in PasteBoardGtk
Created attachment 29719 [details] enable copying image to clipboard
Comment on attachment 29719 [details] enable copying image to clipboard Looks wrong. Why is it OK to ASSERT here in the gtk version and not in the mac version?
Comment on attachment 29719 [details] enable copying image to clipboard (In reply to comment #2) > (From update of attachment 29719 [details] [review]) > Looks wrong. Why is it OK to ASSERT here in the gtk version and not in the mac > version? From my reading of the code, the same ASSERT's exist in Mac. Am I missing something?: void Pasteboard::writeImage(Node* node, const KURL& url, const String& title) { ASSERT(node); [...] ASSERT(node->renderer() && node->renderer()->isImage()); [...] ASSERT(cachedImage); [...] ASSERT(image); [...] }
Comment on attachment 29719 [details] enable copying image to clipboard Shrugs. rs=me
Landed as r43909, thanks Eric =).