Home | History | Annotate | Download | only in css
      1 // Copyright 2017 PDFium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
      6 
      7 #include "core/fxcrt/css/cfx_cssexttextbuf.h"
      8 
      9 CFX_CSSExtTextBuf::CFX_CSSExtTextBuf()
     10     : m_pExtBuffer(nullptr), m_iDatLen(0), m_iDatPos(0) {}
     11 
     12 CFX_CSSExtTextBuf::~CFX_CSSExtTextBuf() {}
     13 
     14 void CFX_CSSExtTextBuf::AttachBuffer(const wchar_t* pBuffer, int32_t iBufLen) {
     15   m_pExtBuffer = pBuffer;
     16   m_iDatLen = iBufLen;
     17 }
     18