summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Weintraub <asweintraub@google.com>2017-12-08 23:58:25 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-08 23:58:25 +0000
commit8ccdf196e41f5b769e50c95a11f741f568587d6c (patch)
treee91006efb2051f4132195cb97244b52b0ed8556d
parentd822ecbd8e07735907f125b460120ff50a7ff2fb (diff)
downloadpdfium-8ccdf196e41f5b769e50c95a11f741f568587d6c.tar.xz
Fix CPDF_AAction default constructor so it compiles in other environments.
Bug: Change-Id: I4e25e96bbcade72115722ac7540d0d186cd2dc03 Reviewed-on: https://pdfium-review.googlesource.com/20631 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
-rw-r--r--core/fpdfdoc/cpdf_aaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_aaction.cpp b/core/fpdfdoc/cpdf_aaction.cpp
index fd29b52ef6..08ff5541f3 100644
--- a/core/fpdfdoc/cpdf_aaction.cpp
+++ b/core/fpdfdoc/cpdf_aaction.cpp
@@ -18,7 +18,7 @@ static_assert(FX_ArraySize(g_sAATypes) == CPDF_AAction::NumberOfActions,
} // namespace
-CPDF_AAction::CPDF_AAction() {}
+CPDF_AAction::CPDF_AAction() : CPDF_AAction(nullptr) {}
CPDF_AAction::CPDF_AAction(CPDF_Dictionary* pDict) : m_pDict(pDict) {}