summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_bookmarktree.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-05-24 13:21:45 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-24 22:34:21 +0000
commitedc1e4e5baac33c8f2799e82ff52fd556d3c5e02 (patch)
tree0811327da4c67fe4babb07d299619382445c8be8 /core/fpdfdoc/cpdf_bookmarktree.cpp
parent4734512572776f8fc705e28fba8a46d981372e99 (diff)
downloadpdfium-edc1e4e5baac33c8f2799e82ff52fd556d3c5e02.tar.xz
Convert to CFX_UnownedPtr, part 9
Change-Id: Ia1151e0855accda0873251938a521df1913c73fa Reviewed-on: https://pdfium-review.googlesource.com/5852 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_bookmarktree.cpp')
-rw-r--r--core/fpdfdoc/cpdf_bookmarktree.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fpdfdoc/cpdf_bookmarktree.cpp b/core/fpdfdoc/cpdf_bookmarktree.cpp
index 2a4314547c..b5dfe4f45f 100644
--- a/core/fpdfdoc/cpdf_bookmarktree.cpp
+++ b/core/fpdfdoc/cpdf_bookmarktree.cpp
@@ -8,6 +8,10 @@
#include "core/fpdfapi/parser/cpdf_document.h"
+CPDF_BookmarkTree::CPDF_BookmarkTree(CPDF_Document* pDoc) : m_pDocument(pDoc) {}
+
+CPDF_BookmarkTree::~CPDF_BookmarkTree() {}
+
CPDF_Bookmark CPDF_BookmarkTree::GetFirstChild(
const CPDF_Bookmark& parent) const {
CPDF_Dictionary* pParentDict = parent.GetDict();