summaryrefslogtreecommitdiff
path: root/core/fpdftext/fpdf_text_int_unittest.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-04-21 10:43:39 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-21 10:43:39 -0700
commit691411873cb16eb82d5912d0f73b96310f632932 (patch)
treec6d80564123ad2768eebd165fe286a4854b5dce0 /core/fpdftext/fpdf_text_int_unittest.cpp
parentfc397dc66c0a5f02f4bb4558423d4d647f567308 (diff)
downloadpdfium-691411873cb16eb82d5912d0f73b96310f632932.tar.xz
Remove CFX_ArrayTemplate from CPDF_LinkExtract
Use unqiue_ptrs while we're at it, also better ctor. Review URL: https://codereview.chromium.org/1896303002
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.