summaryrefslogtreecommitdiff
path: root/core/fxcrt/xml/cfx_saxcontext.cpp
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2017-06-16 12:00:40 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-19 14:55:58 +0000
commit7ca47d55c9cbbec7e0a0b0beffffe348ae655086 (patch)
treeccae777513d025caa9fb5940933b2bb3a081602c /core/fxcrt/xml/cfx_saxcontext.cpp
parentcff4624521c5e0bfc0f4ee667ff90f37785db107 (diff)
downloadpdfium-7ca47d55c9cbbec7e0a0b0beffffe348ae655086.tar.xz
Converting CFX_ByteTextBuf to ostringstream in SAX.
Bug: pdfium:731 Change-Id: Ic492e8900c4a69082ff9c2384006a4e6bfa3313e Reviewed-on: https://pdfium-review.googlesource.com/6592 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fxcrt/xml/cfx_saxcontext.cpp')
-rw-r--r--core/fxcrt/xml/cfx_saxcontext.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/fxcrt/xml/cfx_saxcontext.cpp b/core/fxcrt/xml/cfx_saxcontext.cpp
new file mode 100644
index 0000000000..4e2f0c58c9
--- /dev/null
+++ b/core/fxcrt/xml/cfx_saxcontext.cpp
@@ -0,0 +1,9 @@
+// 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.
+
+#include "core/fxcrt/xml/cfx_saxcontext.h"
+
+CFX_SAXContext::CFX_SAXContext() : m_eNode(CFX_SAXItem::Type::Unknown) {}
+
+CFX_SAXContext::~CFX_SAXContext() {}