summaryrefslogtreecommitdiff
path: root/xfa/fxgraphics/cxfa_color.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-13 14:47:10 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-14 01:19:15 +0000
commit2b918c8d05c922287efbc8858f029026cee31442 (patch)
tree6a1b1585d88ef385576740e98457163bddb8347a /xfa/fxgraphics/cxfa_color.cpp
parent56fc9725f05b18573b06d8a422c5d9d6e626219d (diff)
downloadpdfium-2b918c8d05c922287efbc8858f029026cee31442.tar.xz
Fixup naming of XFA graphics classes
These files were originally renamed thinking they'd move with the colour class up to core/. It was decided that CPWL_Color was a better core colour class the the xfa colour so these are being renamed back to XFA based names to make it clear where they live. Change-Id: Ie89f2306be0609add29bd445e719567e7b439211 Reviewed-on: https://pdfium-review.googlesource.com/7754 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxgraphics/cxfa_color.cpp')
-rw-r--r--xfa/fxgraphics/cxfa_color.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxgraphics/cxfa_color.cpp b/xfa/fxgraphics/cxfa_color.cpp
index 27a0cbe569..79c0e5f794 100644
--- a/xfa/fxgraphics/cxfa_color.cpp
+++ b/xfa/fxgraphics/cxfa_color.cpp
@@ -12,11 +12,11 @@ CXFA_Color::CXFA_Color(const FX_ARGB argb) {
Set(argb);
}
-CXFA_Color::CXFA_Color(CFX_Pattern* pattern, const FX_ARGB argb) {
+CXFA_Color::CXFA_Color(CXFA_Pattern* pattern, const FX_ARGB argb) {
Set(pattern, argb);
}
-CXFA_Color::CXFA_Color(CFX_Shading* shading) {
+CXFA_Color::CXFA_Color(CXFA_Shading* shading) {
Set(shading);
}
@@ -30,7 +30,7 @@ void CXFA_Color::Set(const FX_ARGB argb) {
m_info.pattern = nullptr;
}
-void CXFA_Color::Set(CFX_Pattern* pattern, const FX_ARGB argb) {
+void CXFA_Color::Set(CXFA_Pattern* pattern, const FX_ARGB argb) {
if (!pattern)
return;
m_type = FX_COLOR_Pattern;
@@ -38,7 +38,7 @@ void CXFA_Color::Set(CFX_Pattern* pattern, const FX_ARGB argb) {
m_info.pattern = pattern;
}
-void CXFA_Color::Set(CFX_Shading* shading) {
+void CXFA_Color::Set(CXFA_Shading* shading) {
if (!shading)
return;
m_type = FX_COLOR_Shading;