diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-09-21 19:47:47 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-09-21 19:47:47 +0000 |
commit | fbea60879c6a8db4604e6e0f23216c6ee5f238df (patch) | |
tree | 6d5d57825914d2fc64367195f60bb042b218f31b /core/fpdfapi/page/cpdf_colorstate.h | |
parent | b1d6afbeef3213412e2b45269cab36d016c60bcd (diff) | |
download | pdfium-fbea60879c6a8db4604e6e0f23216c6ee5f238df.tar.xz |
Replace CPDF_Color::Copy() with honest-to-goodness operator=().
Change-Id: Ifcce7b1e513c8859752d5248ae686bbe5349e342
Reviewed-on: https://pdfium-review.googlesource.com/42614
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_colorstate.h')
-rw-r--r-- | core/fpdfapi/page/cpdf_colorstate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/page/cpdf_colorstate.h b/core/fpdfapi/page/cpdf_colorstate.h index 7b72a2a9d2..cc8d91d818 100644 --- a/core/fpdfapi/page/cpdf_colorstate.h +++ b/core/fpdfapi/page/cpdf_colorstate.h @@ -58,8 +58,8 @@ class CPDF_ColorState { void SetDefault(); - FX_COLORREF m_FillColorRef; - FX_COLORREF m_StrokeColorRef; + FX_COLORREF m_FillColorRef = 0; + FX_COLORREF m_StrokeColorRef = 0; CPDF_Color m_FillColor; CPDF_Color m_StrokeColor; }; |