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

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

Issue 1427633010: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase 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 unified diff | Download patch
« no previous file with comments | « core/src/fxcrt/fx_basic_wstring_unittest.cpp ('k') | core/src/fxcrt/fx_bidi_unittest.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_bidi.h" 7 #include "core/include/fxcrt/fx_bidi.h"
8 #include "../../include/fxcrt/fx_ucd.h" 8 #include "core/include/fxcrt/fx_ucd.h"
9 9
10 CFX_BidiChar::CFX_BidiChar() 10 CFX_BidiChar::CFX_BidiChar()
11 : m_iCurStart(0), 11 : m_iCurStart(0),
12 m_iCurCount(0), 12 m_iCurCount(0),
13 m_CurBidi(NEUTRAL), 13 m_CurBidi(NEUTRAL),
14 m_iLastStart(0), 14 m_iLastStart(0),
15 m_iLastCount(0), 15 m_iLastCount(0),
16 m_LastBidi(NEUTRAL) { 16 m_LastBidi(NEUTRAL) {
17 } 17 }
18 18
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 *iCount = m_iLastCount; 57 *iCount = m_iLastCount;
58 return m_LastBidi; 58 return m_LastBidi;
59 } 59 }
60 60
61 void CFX_BidiChar::SaveCurrentStateToLastState() { 61 void CFX_BidiChar::SaveCurrentStateToLastState() {
62 m_LastBidi = m_CurBidi; 62 m_LastBidi = m_CurBidi;
63 m_iLastStart = m_iCurStart; 63 m_iLastStart = m_iCurStart;
64 m_iCurStart = m_iCurCount; 64 m_iCurStart = m_iCurCount;
65 m_iLastCount = m_iCurCount - m_iLastStart; 65 m_iLastCount = m_iCurCount - m_iLastStart;
66 } 66 }
OLDNEW
« no previous file with comments | « core/src/fxcrt/fx_basic_wstring_unittest.cpp ('k') | core/src/fxcrt/fx_bidi_unittest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698