Chromium Code Reviews| Index: core/include/fpdfapi/fpdf_objects.h |
| diff --git a/core/include/fpdfapi/fpdf_objects.h b/core/include/fpdfapi/fpdf_objects.h |
| index 1b7cb94583fe21f1d68a512defe1b4fb100fa5f7..ec052af41ab1f4ae86f45e1e2c4bebfa05ead10e 100644 |
| --- a/core/include/fpdfapi/fpdf_objects.h |
| +++ b/core/include/fpdfapi/fpdf_objects.h |
| @@ -165,10 +165,10 @@ public: |
| return FX_NEW CPDF_Number(bInteger, pData); |
| } |
| - CPDF_Number() |
| + CPDF_Number(): m_Integer(0) |
| { |
| m_Type = PDFOBJ_NUMBER; |
|
Tom Sepez
2015/02/11 00:04:53
initialize m_type the same way.
Tom Sepez
2015/02/11 00:07:09
Argh. Its in the base class. Which means that th
jun_fang
2015/02/11 00:15:07
I tried to fix it in the way that you proposed. Bu
|
| - } |
| + } |
| CPDF_Number(FX_BOOL bInteger, void* pData); |