diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2017-07-19 12:18:35 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-19 16:33:08 +0000 |
commit | 56a805477a72a540a520b08cedd48f1cf250ae8b (patch) | |
tree | 22a38c493c0863568201cca1768307ce25d6532c /core/fxcrt/xml/cfx_saxcontext.h | |
parent | 4442d453f570fda76ec4852e2bb03e7ec8bfb825 (diff) | |
download | pdfium-56a805477a72a540a520b08cedd48f1cf250ae8b.tar.xz |
Revert "Converting CFX_ByteTextBuf to ostringstream in SAX."
This reverts commit 7ca47d55c9cbbec7e0a0b0beffffe348ae655086.
Reason for revert: Caused pdfium:821
Original change's description:
> 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>
TBR=thestig@chromium.org,dsinclair@chromium.org,hnakashima@chromium.org
Bug: pdfium:731
Change-Id: Ic7390c3f53d67d6eecf7f669e329702daa16f339
Reviewed-on: https://pdfium-review.googlesource.com/8230
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/xml/cfx_saxcontext.h')
-rw-r--r-- | core/fxcrt/xml/cfx_saxcontext.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/core/fxcrt/xml/cfx_saxcontext.h b/core/fxcrt/xml/cfx_saxcontext.h index fcc889f7a3..7afebed98d 100644 --- a/core/fxcrt/xml/cfx_saxcontext.h +++ b/core/fxcrt/xml/cfx_saxcontext.h @@ -7,18 +7,15 @@ #ifndef CORE_FXCRT_XML_CFX_SAXCONTEXT_H_ #define CORE_FXCRT_XML_CFX_SAXCONTEXT_H_ -#include <sstream> - #include "core/fxcrt/fx_basic.h" #include "core/fxcrt/fx_string.h" #include "core/fxcrt/xml/cfx_saxreader.h" class CFX_SAXContext { public: - CFX_SAXContext(); - ~CFX_SAXContext(); + CFX_SAXContext() : m_eNode(CFX_SAXItem::Type::Unknown) {} - std::ostringstream m_TextBuf; + CFX_ByteTextBuf m_TextBuf; CFX_ByteString m_bsTagName; CFX_SAXItem::Type m_eNode; }; |