From 8153561249b45ba45f6e393cc081eb1101f3f7a6 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 9 Oct 2018 21:15:17 +0000 Subject: Do IWYU for cpdf_dictionary.h. Move some method implementations out of headers in the process. Change-Id: I8701e360d4addd9aec39fe887d932209985d2443 Reviewed-on: https://pdfium-review.googlesource.com/c/43608 Reviewed-by: Tom Sepez Commit-Queue: Lei Zhang --- core/fpdfdoc/cpdf_link.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'core/fpdfdoc/cpdf_link.cpp') diff --git a/core/fpdfdoc/cpdf_link.cpp b/core/fpdfdoc/cpdf_link.cpp index f7aec4087e..d5f24b1c46 100644 --- a/core/fpdfdoc/cpdf_link.cpp +++ b/core/fpdfdoc/cpdf_link.cpp @@ -7,15 +7,16 @@ #include "core/fpdfdoc/cpdf_link.h" #include "core/fpdfapi/parser/cpdf_array.h" +#include "core/fpdfapi/parser/cpdf_dictionary.h" #include "core/fpdfdoc/cpdf_nametree.h" -CPDF_Link::CPDF_Link() {} +CPDF_Link::CPDF_Link() = default; CPDF_Link::CPDF_Link(CPDF_Dictionary* pDict) : m_pDict(pDict) {} CPDF_Link::CPDF_Link(const CPDF_Link& that) = default; -CPDF_Link::~CPDF_Link() {} +CPDF_Link::~CPDF_Link() = default; CFX_FloatRect CPDF_Link::GetRect() { return m_pDict->GetRectFor("Rect"); -- cgit v1.2.3