summaryrefslogtreecommitdiffstats
path: root/components/bookmarks/browser/bookmark_node_data.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/bookmarks/browser/bookmark_node_data.cc')
-rw-r--r--components/bookmarks/browser/bookmark_node_data.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/bookmarks/browser/bookmark_node_data.cc b/components/bookmarks/browser/bookmark_node_data.cc
index 83d160f..e634fd3 100644
--- a/components/bookmarks/browser/bookmark_node_data.cc
+++ b/components/bookmarks/browser/bookmark_node_data.cc
@@ -34,6 +34,8 @@ BookmarkNodeData::Element::Element(const BookmarkNode* node)
children.push_back(Element(node->GetChild(i)));
}
+BookmarkNodeData::Element::Element(const Element& other) = default;
+
BookmarkNodeData::Element::~Element() {
}
@@ -101,6 +103,8 @@ bool BookmarkNodeData::Element::ReadFromPickle(base::PickleIterator* iterator) {
BookmarkNodeData::BookmarkNodeData() {
}
+BookmarkNodeData::BookmarkNodeData(const BookmarkNodeData& other) = default;
+
BookmarkNodeData::BookmarkNodeData(const BookmarkNode* node) {
elements.push_back(Element(node));
}