summaryrefslogtreecommitdiff
path: root/xfa/fde/css/fde_cssdatatable.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-01-16 16:07:41 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-01-17 19:00:07 +0000
commitb9fbe6e9af590a91ab030d2523a147e972816b32 (patch)
treec74b7124a47142da64cc0e84c82fcff743309405 /xfa/fde/css/fde_cssdatatable.cpp
parent6b71f22093fc4abb2da39f5a58b29c45c17ff99a (diff)
downloadpdfium-b9fbe6e9af590a91ab030d2523a147e972816b32.tar.xz
Rename FDE_CSSRECT and FDE_CSSLENGTH
This Cl converts the names to FDE_CSSRect and FDE_CSSLength to better match other parts of the code base. Change-Id: I33367ae3d93d912755671486d6d5317cddbc4f62 Reviewed-on: https://pdfium-review.googlesource.com/2179 Commit-Queue: dsinclair <dsinclair@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fde/css/fde_cssdatatable.cpp')
-rw-r--r--xfa/fde/css/fde_cssdatatable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fde/css/fde_cssdatatable.cpp b/xfa/fde/css/fde_cssdatatable.cpp
index 8ebded5c2d..569a6f2bf9 100644
--- a/xfa/fde/css/fde_cssdatatable.cpp
+++ b/xfa/fde/css/fde_cssdatatable.cpp
@@ -18,7 +18,7 @@ uint8_t Hex2Dec(uint8_t hexHigh, uint8_t hexLow) {
} // namespace
-bool FDE_CSSLengthToFloat(const FDE_CSSLENGTH& len,
+bool FDE_CSSLengthToFloat(const FDE_CSSLength& len,
FX_FLOAT fPercentBase,
FX_FLOAT& fResult) {
switch (len.GetUnit()) {
@@ -38,7 +38,7 @@ CFX_FloatRect FDE_CSSBoundaryToRect(CFDE_CSSComputedStyle* pBoundStyle,
bool bBorder,
bool bMargin) {
FX_FLOAT fResult;
- const FDE_CSSRECT* pRect;
+ const FDE_CSSRect* pRect;
CFX_FloatRect rect(0, 0, 0, 0);
if (bPadding) {
pRect = pBoundStyle->GetPaddingWidth();