• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 "xfa/fgas/layout/cfx_textuserdata.h"
8 
9 #include "core/fxcrt/css/cfx_css.h"
10 #include "core/fxcrt/css/cfx_csscomputedstyle.h"
11 #include "core/fxcrt/css/cfx_cssstyleselector.h"
12 #include "xfa/fgas/layout/cfx_linkuserdata.h"
13 
CFX_TextUserData(const RetainPtr<CFX_CSSComputedStyle> & pStyle)14 CFX_TextUserData::CFX_TextUserData(
15     const RetainPtr<CFX_CSSComputedStyle>& pStyle)
16     : m_pStyle(pStyle) {}
17 
CFX_TextUserData(const RetainPtr<CFX_CSSComputedStyle> & pStyle,const RetainPtr<CFX_LinkUserData> & pLinkData)18 CFX_TextUserData::CFX_TextUserData(
19     const RetainPtr<CFX_CSSComputedStyle>& pStyle,
20     const RetainPtr<CFX_LinkUserData>& pLinkData)
21     : m_pStyle(pStyle), m_pLinkData(pLinkData) {}
22 
~CFX_TextUserData()23 CFX_TextUserData::~CFX_TextUserData() {}
24