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

Side by Side Diff: fpdfsdk/src/pdfwindow/PWL_Wnd.cpp

Issue 429593005: Fix a few more warnings in chromium_code mode. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 4 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/javascript/util.cpp ('k') | no next file » | 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 "../../include/pdfwindow/PDFWindow.h" 7 #include "../../include/pdfwindow/PDFWindow.h"
8 #include "../../include/pdfwindow/PWL_Wnd.h" 8 #include "../../include/pdfwindow/PWL_Wnd.h"
9 #include "../../include/pdfwindow/PWL_Utils.h" 9 #include "../../include/pdfwindow/PWL_Utils.h"
10 #include "../../include/pdfwindow/PWL_ScrollBar.h" 10 #include "../../include/pdfwindow/PWL_ScrollBar.h"
11 11
12 /* -------------------------- CPWL_Timer -------------------------- */ 12 /* -------------------------- CPWL_Timer -------------------------- */
13 13
14 static CFX_MapPtrTemplate<FX_INT32, CPWL_Timer*> g_TimeMap; 14 static CFX_MapPtrTemplate<FX_INT32, CPWL_Timer*> g_TimeMap;
15 15
16 CPWL_Timer::CPWL_Timer(CPWL_TimerHandler* pAttached, IFX_SystemHandler* pSystemH andler) : 16 CPWL_Timer::CPWL_Timer(CPWL_TimerHandler* pAttached, IFX_SystemHandler* pSystemH andler) :
17 m_nTimerID(0),
17 m_pAttached(pAttached), 18 m_pAttached(pAttached),
18 m_nTimerID(0),
19 m_pSystemHandler(pSystemHandler) 19 m_pSystemHandler(pSystemHandler)
20 { 20 {
21 ASSERT(m_pAttached != NULL); 21 ASSERT(m_pAttached != NULL);
22 ASSERT(m_pSystemHandler != NULL); 22 ASSERT(m_pSystemHandler != NULL);
23 } 23 }
24 24
25 CPWL_Timer::~CPWL_Timer() 25 CPWL_Timer::~CPWL_Timer()
26 { 26 {
27 KillPWLTimer(); 27 KillPWLTimer();
28 } 28 }
(...skipping 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 FX_BOOL CPWL_Wnd::IsINSERTpressed(FX_DWORD nFlag) const 1333 FX_BOOL CPWL_Wnd::IsINSERTpressed(FX_DWORD nFlag) const
1334 { 1334 {
1335 if (IFX_SystemHandler* pSystemHandler = GetSystemHandler()) 1335 if (IFX_SystemHandler* pSystemHandler = GetSystemHandler())
1336 { 1336 {
1337 return pSystemHandler->IsINSERTKeyDown(nFlag); 1337 return pSystemHandler->IsINSERTKeyDown(nFlag);
1338 } 1338 }
1339 1339
1340 return FALSE; 1340 return FALSE;
1341 } 1341 }
1342 1342
OLDNEW
« no previous file with comments | « fpdfsdk/src/javascript/util.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698