Mac: Fix rendering of the background color (issue #1161)

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1547@1555 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2014-01-03 21:44:55 +00:00
parent 55ee7d4dd6
commit 83483b73e8
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ typedef uint32 cef_color_t;
// Return an cef_color_t value with the specified byte component values. // Return an cef_color_t value with the specified byte component values.
#define CefColorSetARGB(a, r, g, b) \ #define CefColorSetARGB(a, r, g, b) \
static_cast<uint32_t>( \ static_cast<cef_color_t>( \
(static_cast<unsigned>(a) << 24) | \ (static_cast<unsigned>(a) << 24) | \
(static_cast<unsigned>(r) << 16) | \ (static_cast<unsigned>(r) << 16) | \
(static_cast<unsigned>(g) << 8) | \ (static_cast<unsigned>(g) << 8) | \