There were some hard-coded DeviceColorSpace calls in the Windows code that should be revised to match all other platforms. This patch properly handles the sRGB color space (both on older Windows installations and current software) so that our existing test suites pass. It also removes some hard-coded ColorSpace values that were introduced while correcting a build failure around four years ago that were never revised to take advantage of the API.
Created attachment 217720 [details] Patch
<rdar://problem/7387791>
Comment on attachment 217720 [details] Patch r+ with the changes discussed on IRC
Committed r159720: <http://trac.webkit.org/changeset/159720>