summaryrefslogtreecommitdiff
path: root/core/fpdftext/fpdf_text_int_unittest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdftext/fpdf_text_int_unittest.cpp')
-rw-r--r--core/fpdftext/fpdf_text_int_unittest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/fpdftext/fpdf_text_int_unittest.cpp b/core/fpdftext/fpdf_text_int_unittest.cpp
index e1dd0f7504..0ee11d2d57 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.