diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-05-23 17:10:46 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-24 00:49:21 +0000 |
commit | 655c783b8077f18e17418a3aab9b5a07c8055049 (patch) | |
tree | e121b850ead5af67156b126c2e8d2fdcfa4be6a9 /core/fpdfdoc/cpdf_bookmark.cpp | |
parent | 6f3593c5cdf62915fc086448312671ce1fce5291 (diff) | |
download | pdfium-655c783b8077f18e17418a3aab9b5a07c8055049.tar.xz |
Convert to CFX_UnownedPtr, part 3.
Remove an explicit clear to re-order the member
destruction order.
Change-Id: I33da3f3de4b8e8e0cfbdceaf5140e98f5d6f904a
Reviewed-on: https://pdfium-review.googlesource.com/5791
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_bookmark.cpp')
-rw-r--r-- | core/fpdfdoc/cpdf_bookmark.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/fpdfdoc/cpdf_bookmark.cpp b/core/fpdfdoc/cpdf_bookmark.cpp index 8ca5d128f5..29303f1d32 100644 --- a/core/fpdfdoc/cpdf_bookmark.cpp +++ b/core/fpdfdoc/cpdf_bookmark.cpp @@ -14,6 +14,14 @@ #include "core/fpdfdoc/cpdf_nametree.h" #include "core/fxge/fx_dib.h" +CPDF_Bookmark::CPDF_Bookmark() {} + +CPDF_Bookmark::CPDF_Bookmark(const CPDF_Bookmark& that) = default; + +CPDF_Bookmark::CPDF_Bookmark(CPDF_Dictionary* pDict) : m_pDict(pDict) {} + +CPDF_Bookmark::~CPDF_Bookmark() {} + uint32_t CPDF_Bookmark::GetColorRef() const { if (!m_pDict) return FXSYS_RGB(0, 0, 0); |