summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_iconfit.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-09 23:32:10 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-09 23:32:10 +0000
commit76ec926e732926e84de9c8b4ef0018464172e73b (patch)
treefb59a9fb517b2d8a326b33cbc834202f903a86f6 /core/fpdfdoc/cpdf_iconfit.cpp
parent46ab5abf23910983663b3daeb6dc2f6a98ee24a8 (diff)
downloadpdfium-76ec926e732926e84de9c8b4ef0018464172e73b.tar.xz
Remove default argument to CPDF_Dictionary::GetBooleanFor().chromium/3576
Change-Id: I5b64bc3af90b9557d8e0c456675afe60e463927d Reviewed-on: https://pdfium-review.googlesource.com/c/43612 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_iconfit.cpp')
-rw-r--r--core/fpdfdoc/cpdf_iconfit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_iconfit.cpp b/core/fpdfdoc/cpdf_iconfit.cpp
index 5b3deee93f..bef9eb4ebf 100644
--- a/core/fpdfdoc/cpdf_iconfit.cpp
+++ b/core/fpdfdoc/cpdf_iconfit.cpp
@@ -50,5 +50,5 @@ void CPDF_IconFit::GetIconPosition(float& fLeft, float& fBottom) {
}
bool CPDF_IconFit::GetFittingBounds() {
- return m_pDict ? m_pDict->GetBooleanFor("FB") : false;
+ return m_pDict && m_pDict->GetBooleanFor("FB", false);
}