summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/theme/utils.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-03-25 14:38:58 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-25 14:38:58 -0700
commitdeee3d2ee201d62e7ef41e7d8378d7f52e057a9c (patch)
treef9f64d5f24376108a697299f8574ae3a7fe3511b /xfa/include/fwl/theme/utils.h
parent736f28ab2434e2da1de66ff91b64741483ff9cba (diff)
downloadpdfium-deee3d2ee201d62e7ef41e7d8378d7f52e057a9c.tar.xz
Remove FX_DWORD from XFA, part 2
Some headers were missed in the previous CL. Review URL: https://codereview.chromium.org/1835703002
Diffstat (limited to 'xfa/include/fwl/theme/utils.h')
-rw-r--r--xfa/include/fwl/theme/utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/include/fwl/theme/utils.h b/xfa/include/fwl/theme/utils.h
index 73e865076d..0a37d3274b 100644
--- a/xfa/include/fwl/theme/utils.h
+++ b/xfa/include/fwl/theme/utils.h
@@ -29,7 +29,7 @@ enum FWLTHEME_DIRECTION {
};
struct FWLCOLOR {
union {
- FX_DWORD color;
+ uint32_t color;
struct {
uint8_t b;
uint8_t g;
@@ -39,11 +39,11 @@ struct FWLCOLOR {
};
FWLCOLOR() : color(0) {}
- FWLCOLOR(FX_DWORD c) : color(c) {}
+ FWLCOLOR(uint32_t c) : color(c) {}
FWLCOLOR(const FWLCOLOR& c) : color(c.color) {}
bool operator==(const FWLCOLOR& frColor) { return color == frColor.color; }
- operator FX_DWORD() { return color; }
+ operator uint32_t() { return color; }
};
#define FWLTHEME_BEZIER FX_BEZIER
#define FWLTHEME_PI FX_PI