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

Side by Side Diff: core/src/fxcrt/fx_arabic.cpp

Issue 1084613006: Fix all remaining instances of FX_NEW. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: std::min Created 5 years, 8 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 | « core/include/fxcrt/fx_memory.h ('k') | core/src/fxcrt/fx_extension.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 "../../include/fxcrt/fx_ext.h" 7 #include "../../include/fxcrt/fx_ext.h"
8 #include "fx_arabic.h" 8 #include "fx_arabic.h"
9 extern const FX_DWORD gs_FX_TextLayout_CodeProperties[65536]; 9 extern const FX_DWORD gs_FX_TextLayout_CodeProperties[65536];
10 IFX_BidiChar* IFX_BidiChar::Create() 10 IFX_BidiChar* IFX_BidiChar::Create()
11 { 11 {
12 return FX_NEW CFX_BidiChar; 12 return new CFX_BidiChar;
13 } 13 }
14 CFX_BidiChar::CFX_BidiChar() 14 CFX_BidiChar::CFX_BidiChar()
15 : m_bSeparateNeutral(TRUE) 15 : m_bSeparateNeutral(TRUE)
16 , m_iCurStart(0) 16 , m_iCurStart(0)
17 , m_iCurCount(0) 17 , m_iCurCount(0)
18 , m_iCurBidi(0) 18 , m_iCurBidi(0)
19 , m_iLastBidi(0) 19 , m_iLastBidi(0)
20 , m_iLastStart(0) 20 , m_iLastStart(0)
21 , m_iLastCount(0) 21 , m_iLastCount(0)
22 { 22 {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 } 77 }
78 void CFX_BidiChar::Reset() 78 void CFX_BidiChar::Reset()
79 { 79 {
80 m_iCurStart = 0; 80 m_iCurStart = 0;
81 m_iCurCount = 0; 81 m_iCurCount = 0;
82 m_iCurBidi = 0; 82 m_iCurBidi = 0;
83 m_iLastBidi = 0; 83 m_iLastBidi = 0;
84 m_iLastStart = 0; 84 m_iLastStart = 0;
85 m_iLastCount = 0; 85 m_iLastCount = 0;
86 } 86 }
OLDNEW
« no previous file with comments | « core/include/fxcrt/fx_memory.h ('k') | core/src/fxcrt/fx_extension.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698