Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(985)

Side by Side Diff: xfa/fxfa/parser/cxfa_contentlayoutitem.cpp

Issue 2467203003: Remove FX_BOOL from xfa. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxfa/parser/cxfa_containerlayoutitem.cpp ('k') | xfa/fxfa/parser/cxfa_data.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "xfa/fxfa/parser/cxfa_contentlayoutitem.h" 7 #include "xfa/fxfa/parser/cxfa_contentlayoutitem.h"
8 8
9 CXFA_ContentLayoutItem::CXFA_ContentLayoutItem(CXFA_Node* pNode) 9 CXFA_ContentLayoutItem::CXFA_ContentLayoutItem(CXFA_Node* pNode)
10 : CXFA_LayoutItem(pNode, TRUE), 10 : CXFA_LayoutItem(pNode, true),
11 m_pPrev(nullptr), 11 m_pPrev(nullptr),
12 m_pNext(nullptr), 12 m_pNext(nullptr),
13 m_dwStatus(0) {} 13 m_dwStatus(0) {}
14 14
15 CXFA_ContentLayoutItem::~CXFA_ContentLayoutItem() { 15 CXFA_ContentLayoutItem::~CXFA_ContentLayoutItem() {
16 if (m_pFormNode->GetUserData(XFA_LAYOUTITEMKEY) == this) 16 if (m_pFormNode->GetUserData(XFA_LAYOUTITEMKEY) == this)
17 m_pFormNode->SetUserData(XFA_LAYOUTITEMKEY, nullptr); 17 m_pFormNode->SetUserData(XFA_LAYOUTITEMKEY, nullptr);
18 } 18 }
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/cxfa_containerlayoutitem.cpp ('k') | xfa/fxfa/parser/cxfa_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698