summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_brush.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-08-09 16:09:51 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-09 20:47:34 +0000
commit17aa0579f9ce11e5433b62ccb66c59b522b4f51e (patch)
tree39dce4b38c71a2442ef5dbeea2867af05fca8088 /xfa/fde/cfde_brush.h
parentb6db95b0d55869168ee13e2b8accb0d16dc7ad8b (diff)
downloadpdfium-17aa0579f9ce11e5433b62ccb66c59b522b4f51e.tar.xz
Remove CFDE_{Pen|Brush} classes
These classes just hold a color value. Instead of creating the class to pass the color we just pass the colors. Change-Id: I7f65ca4100bfbdcb02171c1e7e46150508e338f4 Reviewed-on: https://pdfium-review.googlesource.com/10451 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_brush.h')
-rw-r--r--xfa/fde/cfde_brush.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/xfa/fde/cfde_brush.h b/xfa/fde/cfde_brush.h
deleted file mode 100644
index 7a070c8605..0000000000
--- a/xfa/fde/cfde_brush.h
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2017 PDFium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-
-#ifndef XFA_FDE_CFDE_BRUSH_H_
-#define XFA_FDE_CFDE_BRUSH_H_
-
-#include "core/fxge/fx_dib.h"
-
-class CFDE_Brush {
- public:
- CFDE_Brush() : m_Color(0xFF000000) {}
-
- FX_ARGB GetColor() const { return m_Color; }
- void SetColor(FX_ARGB color) { m_Color = color; }
-
- private:
- FX_ARGB m_Color;
-};
-
-#endif // XFA_FDE_CFDE_BRUSH_H_