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

Unified Diff: fpdfsdk/src/fsdk_rendercontext.cpp

Issue 1239313005: Merge to XFA - else after returns. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Fix issues. Created 5 years, 5 months 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 | « fpdfsdk/src/fsdk_mgr.cpp ('k') | fpdfsdk/src/fxedit/fxet_edit.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/src/fsdk_rendercontext.cpp
diff --git a/fpdfsdk/src/fsdk_rendercontext.cpp b/fpdfsdk/src/fsdk_rendercontext.cpp
index 4b7242d2b962eccd1053c7e3d18f502bf5d1b62a..f96db9415032564604f42c737d93ed0c9280601a 100644
--- a/fpdfsdk/src/fsdk_rendercontext.cpp
+++ b/fpdfsdk/src/fsdk_rendercontext.cpp
@@ -8,14 +8,14 @@
void CRenderContext::Clear()
{
- m_pDevice = NULL;
- m_pContext = NULL;
- m_pRenderer = NULL;
- m_pAnnots = NULL;
- m_pOptions = NULL;
+ m_pDevice = NULL;
+ m_pContext = NULL;
+ m_pRenderer = NULL;
+ m_pAnnots = NULL;
+ m_pOptions = NULL;
#ifdef _WIN32_WCE
- m_pBitmap = NULL;
- m_hBitmap = NULL;
+ m_pBitmap = NULL;
+ m_hBitmap = NULL;
#endif
}
@@ -35,15 +35,13 @@ CRenderContext::~CRenderContext()
IFSDK_PAUSE_Adapter::IFSDK_PAUSE_Adapter(IFSDK_PAUSE* IPause )
{
- m_IPause = IPause;
+ m_IPause = IPause;
}
FX_BOOL IFSDK_PAUSE_Adapter::NeedToPauseNow()
{
- if (m_IPause->NeedToPauseNow)
- {
- return m_IPause->NeedToPauseNow(m_IPause);
- }else{
- return FALSE;
- }
+ if (m_IPause->NeedToPauseNow) {
+ return m_IPause->NeedToPauseNow(m_IPause);
+ }
+ return FALSE;
}
« no previous file with comments | « fpdfsdk/src/fsdk_mgr.cpp ('k') | fpdfsdk/src/fxedit/fxet_edit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698