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

Unified Diff: xfa/src/fxfa/src/app/xfa_ffpageview.cpp

Issue 1441243005: Add AsLayoutItem()/ToLayoutItem() functions. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Typos Created 5 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 | « no previous file | xfa/src/fxfa/src/common/xfa_doclayout.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fxfa/src/app/xfa_ffpageview.cpp
diff --git a/xfa/src/fxfa/src/app/xfa_ffpageview.cpp b/xfa/src/fxfa/src/app/xfa_ffpageview.cpp
index 32d749bc0114d4e1213c6c7d5cd1e633c5f7966a..c9b55c889a952f46380a05605dde795c410d243c 100644
--- a/xfa/src/fxfa/src/app/xfa_ffpageview.cpp
+++ b/xfa/src/fxfa/src/app/xfa_ffpageview.cpp
@@ -341,9 +341,7 @@ void CXFA_FFTabOrderPageWidgetIterator::OrderContainer(
CFX_PtrArray tabParams;
CXFA_LayoutItem* pSearchItem = sIterator->MoveToNext();
while (pSearchItem) {
- FX_BOOL bIsContentLayoutItem =
- ((CXFA_LayoutItem*)pSearchItem)->IsContentLayoutItem();
- if (!bIsContentLayoutItem) {
+ if (!pSearchItem->IsContentLayoutItem()) {
bContentArea = TRUE;
pSearchItem = sIterator->MoveToNext();
continue;
« no previous file with comments | « no previous file | xfa/src/fxfa/src/common/xfa_doclayout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698