Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1789)

Unified Diff: xfa/include/fwl/theme/utils.h

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/include/fwl/theme/scrollbartp.h ('k') | xfa/include/fwl/theme/widgettp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/include/fwl/theme/utils.h
diff --git a/xfa/include/fwl/theme/utils.h b/xfa/include/fwl/theme/utils.h
index 73e865076dea780ef0aec5b3a98118578bd30f18..0a37d3274b555983ca5dcc636e6b4cbeb6b49f59 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
« no previous file with comments | « xfa/include/fwl/theme/scrollbartp.h ('k') | xfa/include/fwl/theme/widgettp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698