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

Unified Diff: xfa/fxfa/parser/cxfa_layoutitem.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fxfa/parser/cxfa_image.cpp ('k') | xfa/fxfa/parser/cxfa_layoutitem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxfa/parser/cxfa_layoutitem.h
diff --git a/xfa/fxfa/parser/cxfa_layoutitem.h b/xfa/fxfa/parser/cxfa_layoutitem.h
index bacb2b8682317f23d610b1e70b30fa0792cd9323..5991cd6f3ee8930ec253710e35f636740b14f212 100644
--- a/xfa/fxfa/parser/cxfa_layoutitem.h
+++ b/xfa/fxfa/parser/cxfa_layoutitem.h
@@ -19,14 +19,14 @@ class CXFA_LayoutItem {
public:
virtual ~CXFA_LayoutItem();
- FX_BOOL IsContainerLayoutItem() const { return !m_bIsContentLayoutItem; }
- FX_BOOL IsContentLayoutItem() const { return m_bIsContentLayoutItem; }
+ bool IsContainerLayoutItem() const { return !m_bIsContentLayoutItem; }
+ bool IsContentLayoutItem() const { return m_bIsContentLayoutItem; }
CXFA_ContainerLayoutItem* AsContainerLayoutItem();
CXFA_ContentLayoutItem* AsContentLayoutItem();
CXFA_ContainerLayoutItem* GetPage() const;
CXFA_Node* GetFormNode() const;
- void GetRect(CFX_RectF& rtLayout, FX_BOOL bRelative = FALSE) const;
+ void GetRect(CFX_RectF& rtLayout, bool bRelative = false) const;
int32_t GetIndex() const;
int32_t GetCount() const;
CXFA_LayoutItem* GetParent() const;
@@ -48,9 +48,9 @@ class CXFA_LayoutItem {
CXFA_LayoutItem* m_pFirstChild;
protected:
- CXFA_LayoutItem(CXFA_Node* pNode, FX_BOOL bIsContentLayoutItem);
+ CXFA_LayoutItem(CXFA_Node* pNode, bool bIsContentLayoutItem);
- FX_BOOL m_bIsContentLayoutItem;
+ bool m_bIsContentLayoutItem;
};
#endif // XFA_FXFA_PARSER_CXFA_LAYOUTITEM_H_
« no previous file with comments | « xfa/fxfa/parser/cxfa_image.cpp ('k') | xfa/fxfa/parser/cxfa_layoutitem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698