Chromium Code Reviews| Index: core/src/fpdfapi/fpdf_page/pageint.h |
| diff --git a/core/src/fpdfapi/fpdf_page/pageint.h b/core/src/fpdfapi/fpdf_page/pageint.h |
| index a36b848bcaa2c284940308d9368b512bc4d835d8..ec06187b6c4abcb3693d680a883f2d6aeffbcb03 100644 |
| --- a/core/src/fpdfapi/fpdf_page/pageint.h |
| +++ b/core/src/fpdfapi/fpdf_page/pageint.h |
| @@ -154,7 +154,7 @@ class CPDF_StreamContentParser { |
| protected: |
| using OpCodes = |
| std::unordered_map<FX_DWORD, void (CPDF_StreamContentParser::*)()>; |
| - static const OpCodes s_OpCodes; |
|
Tom Sepez
2016/02/25 01:28:08
Sure you don't want to just make this a pointer?
Lei Zhang
2016/02/25 19:19:33
Static local variables are initialized only on fir
|
| + static OpCodes InitializeOpCodes(); |
| void Handle_CloseFillStrokePath(); |
| void Handle_FillStrokePath(); |