Index: core/fpdftext/fpdf_text_int_unittest.cpp |
diff --git a/core/fpdftext/fpdf_text_int_unittest.cpp b/core/fpdftext/fpdf_text_int_unittest.cpp |
index e1dd0f7504ce58beb0785a342d4040dc4ce88c4d..0ee11d2d57c611b704d8ffbcf7379d747d81d9fb 100644 |
--- a/core/fpdftext/fpdf_text_int_unittest.cpp |
+++ b/core/fpdftext/fpdf_text_int_unittest.cpp |
@@ -8,6 +8,9 @@ |
// Class to help test functions in CPDF_LinkExtract class. |
class CPDF_TestLinkExtract : public CPDF_LinkExtract { |
+ public: |
+ CPDF_TestLinkExtract() : CPDF_LinkExtract(nullptr) {} |
+ |
private: |
// Add test cases as friends to access protected member functions. |
// Access CheckMailLink. |