Add some casting operators to Color to allow conversion to/from native Direct2D types.
Created attachment 289113 [details] Patch
Attachment 289113 [details] did not pass style-queue: ERROR: Source/WebCore/platform/graphics/Color.h:45: D2D_COLOR_F is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] ERROR: Source/WebCore/platform/graphics/Color.h:46: D2D1_COLOR_F is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] ERROR: Source/WebCore/platform/graphics/win/ColorDirect2D.cpp:41: D2D1_COLOR_F is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] Total errors found: 3 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Committed r206056: <http://trac.webkit.org/changeset/206056>