summaryrefslogtreecommitdiff
path: root/core/fxcrt/xml/cxml_content.cpp
blob: fe0c185bb74afafc129ca57e3c528fdc01c19e41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2017 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#include "core/fxcrt/xml/cxml_content.h"

CXML_Content::CXML_Content(bool bCDATA, const CFX_WideStringC& content)
    : m_bCDATA(bCDATA), m_Content(content) {}

CXML_Content::~CXML_Content() {}

CXML_Content* CXML_Content::AsContent() {
  return this;
}

const CXML_Content* CXML_Content::AsContent() const {
  return this;
}