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

Issue 1618273004: Remove CFX_SegmentedArray use from master (Closed)

Created:
4 years, 11 months ago by Tom Sepez
Modified:
4 years, 11 months ago
Reviewers:
Lei Zhang, Oliver Chang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Remove CFX_SegmentedArray use from master. Replace with std::deque. Make member naming more consistent. R=ochang@chromium.org, thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/c64e4007ee4561ec2ed3ce986191caf9b024ef55

Patch Set 1 #

Total comments: 7

Patch Set 2 : Add helper method. #

Total comments: 19

Patch Set 3 : Rebase. #

Patch Set 4 : Fix blown merge in fpdf_text_int.cpp #

Patch Set 5 : Nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -503 lines) Patch
M core/include/fxcrt/fx_basic.h View 1 chunk +0 lines, -65 lines 0 comments Download
M core/src/fpdftext/fpdf_text_int.cpp View 1 2 3 4 40 chunks +185 lines, -220 lines 0 comments Download
M core/src/fpdftext/text_int.h View 1 2 5 chunks +14 lines, -14 lines 0 comments Download
M core/src/fxcrt/fx_basic_array.cpp View 1 chunk +0 lines, -204 lines 0 comments Download
M third_party/base/stl_util.h View 1 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
Tom Sepez
Pls. review.
4 years, 11 months ago (2016-01-22 19:58:49 UTC) #2
Oliver Chang
Could we change these int var = m_Deque.size(); to "size_t var" = where we can? ...
4 years, 11 months ago (2016-01-22 20:17:56 UTC) #4
Tom Sepez
On 2016/01/22 20:17:56, Oliver Chang wrote: > Could we change these > > int var ...
4 years, 11 months ago (2016-01-22 20:41:08 UTC) #5
Tom Sepez
https://codereview.chromium.org/1618273004/diff/1/core/src/fpdftext/fpdf_text_int.cpp File core/src/fpdftext/fpdf_text_int.cpp (right): https://codereview.chromium.org/1618273004/diff/1/core/src/fpdftext/fpdf_text_int.cpp#newcode184 core/src/fpdftext/fpdf_text_int.cpp:184: m_CharIndex.SetAt(indexSize - 1, i + 1); For instance, m_CharIndex ...
4 years, 11 months ago (2016-01-22 20:52:05 UTC) #6
Oliver Chang
On 2016/01/22 20:41:08, Tom Sepez wrote: > On 2016/01/22 20:17:56, Oliver Chang wrote: > > ...
4 years, 11 months ago (2016-01-22 21:08:07 UTC) #7
Tom Sepez
On 2016/01/22 21:08:07, Oliver Chang wrote: > On 2016/01/22 20:41:08, Tom Sepez wrote: > > ...
4 years, 11 months ago (2016-01-22 21:23:41 UTC) #8
Oliver Chang
> Not clear which is worse -- since these indices are also used with other ...
4 years, 11 months ago (2016-01-22 21:26:24 UTC) #9
Tom Sepez
https://codereview.chromium.org/1618273004/diff/1/core/src/fpdftext/fpdf_text_int.cpp File core/src/fpdftext/fpdf_text_int.cpp (right): https://codereview.chromium.org/1618273004/diff/1/core/src/fpdftext/fpdf_text_int.cpp#newcode1973 core/src/fpdftext/fpdf_text_int.cpp:1973: int nCount = m_CharList.size(); On 2016/01/22 21:26:23, Oliver Chang ...
4 years, 11 months ago (2016-01-22 21:41:56 UTC) #10
Tom Sepez
See PS#2.
4 years, 11 months ago (2016-01-22 23:52:14 UTC) #11
Oliver Chang
awesome, lgtm.
4 years, 11 months ago (2016-01-23 00:02:25 UTC) #12
Tom Sepez
On 2016/01/23 00:02:25, Oliver Chang wrote: > awesome, lgtm. Thanks. Also +thestig (000) who may ...
4 years, 11 months ago (2016-01-23 00:03:48 UTC) #14
Tom Sepez
https://codereview.chromium.org/1618273004/diff/20001/core/src/fpdftext/fpdf_text_int.cpp File core/src/fpdftext/fpdf_text_int.cpp (right): https://codereview.chromium.org/1618273004/diff/20001/core/src/fpdftext/fpdf_text_int.cpp#newcode481 core/src/fpdftext/fpdf_text_int.cpp:481: int startIndex = start; nit: someday, someone should make ...
4 years, 11 months ago (2016-01-23 00:07:56 UTC) #15
Lei Zhang
lgtm https://codereview.chromium.org/1618273004/diff/20001/core/src/fpdftext/fpdf_text_int.cpp File core/src/fpdftext/fpdf_text_int.cpp (right): https://codereview.chromium.org/1618273004/diff/20001/core/src/fpdftext/fpdf_text_int.cpp#newcode163 core/src/fpdftext/fpdf_text_int.cpp:163: PAGECHAR_INFO charinfo = m_CharList[i]; improvement over original code: ...
4 years, 11 months ago (2016-01-25 22:11:16 UTC) #16
Tom Sepez
fpdf_text_int.cpp need re-review, icky merge forward. https://codereview.chromium.org/1618273004/diff/20001/core/src/fpdftext/fpdf_text_int.cpp File core/src/fpdftext/fpdf_text_int.cpp (right): https://codereview.chromium.org/1618273004/diff/20001/core/src/fpdftext/fpdf_text_int.cpp#newcode163 core/src/fpdftext/fpdf_text_int.cpp:163: PAGECHAR_INFO charinfo = ...
4 years, 11 months ago (2016-01-25 23:04:47 UTC) #17
Lei Zhang
lgtm
4 years, 11 months ago (2016-01-25 23:37:07 UTC) #18
Tom Sepez
4 years, 11 months ago (2016-01-25 23:39:05 UTC) #20
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
c64e4007ee4561ec2ed3ce986191caf9b024ef55 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698