[Webkit-unassigned] [Bug 21816] Clean up ImageBuffer.h so there do not have to be separate ifdefs for each platform
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 23 12:41:30 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=21816
------- Comment #6 from brettw at chromium.org 2008-10-23 12:41 PDT -------
Passing by value will create a copy in ImageBuffer. This is possible for CG,
but not for some other platforms. Even for CG, this would require extra work
to transfer ownership of the void* pointer in the PlatformImageBuffer to the
copy in the object.
Worrying about one more malloc when you're allocating a potentially
multi-megabyte bitmap doesn't seem worthwhile to me.
The other option is my suggestion in comment 4. Are you happy with that?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list