diff options
Diffstat (limited to 'core/fxcrt/css/cfx_cssexttextbuf.cpp')
-rw-r--r-- | core/fxcrt/css/cfx_cssexttextbuf.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/core/fxcrt/css/cfx_cssexttextbuf.cpp b/core/fxcrt/css/cfx_cssexttextbuf.cpp new file mode 100644 index 0000000000..287dc2e954 --- /dev/null +++ b/core/fxcrt/css/cfx_cssexttextbuf.cpp @@ -0,0 +1,17 @@ +// 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/css/cfx_cssexttextbuf.h" + +CFX_CSSExtTextBuf::CFX_CSSExtTextBuf() + : m_pExtBuffer(nullptr), m_iDatLen(0), m_iDatPos(0) {} + +CFX_CSSExtTextBuf::~CFX_CSSExtTextBuf() {} + +void CFX_CSSExtTextBuf::AttachBuffer(const wchar_t* pBuffer, int32_t iBufLen) { + m_pExtBuffer = pBuffer; + m_iDatLen = iBufLen; +} |