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

Side by Side Diff: fpdfsdk/src/fpdfxfa/fpdfxfa_util.cpp

Issue 1773733002: Review and cleanup lint warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp ('k') | fpdfsdk/src/fsdk_actionhandler.cpp » ('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 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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 "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h" 7 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h"
8
9 #include <vector>
10
8 #include "fpdfsdk/include/fsdk_define.h" 11 #include "fpdfsdk/include/fsdk_define.h"
9 #include "fpdfsdk/include/fsdk_mgr.h" 12 #include "fpdfsdk/include/fsdk_mgr.h"
10 13
11 std::vector<CFWL_TimerInfo*>* CXFA_FWLAdapterTimerMgr::s_TimerArray = nullptr; 14 std::vector<CFWL_TimerInfo*>* CXFA_FWLAdapterTimerMgr::s_TimerArray = nullptr;
12 15
13 FWL_ERR CXFA_FWLAdapterTimerMgr::Start(IFWL_Timer* pTimer, 16 FWL_ERR CXFA_FWLAdapterTimerMgr::Start(IFWL_Timer* pTimer,
14 FX_DWORD dwElapse, 17 FX_DWORD dwElapse,
15 FWL_HTIMER& hTimer, 18 FWL_HTIMER& hTimer,
16 FX_BOOL bImmediately) { 19 FX_BOOL bImmediately) {
17 if (!m_pEnv) 20 if (!m_pEnv)
(...skipping 28 matching lines...) Expand all
46 if (!s_TimerArray) 49 if (!s_TimerArray)
47 return; 50 return;
48 51
49 for (CFWL_TimerInfo* pInfo : *s_TimerArray) { 52 for (CFWL_TimerInfo* pInfo : *s_TimerArray) {
50 if (pInfo->uIDEvent == idEvent) { 53 if (pInfo->uIDEvent == idEvent) {
51 pInfo->pTimer->Run(reinterpret_cast<FWL_HTIMER>(pInfo)); 54 pInfo->pTimer->Run(reinterpret_cast<FWL_HTIMER>(pInfo));
52 break; 55 break;
53 } 56 }
54 } 57 }
55 } 58 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp ('k') | fpdfsdk/src/fsdk_actionhandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698