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

Issue 1906903002: Replace CFX_RectArray with std::vector<CFX_FloatRect> (Closed)

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

Description

Replace CFX_RectArray with std::vector<CFX_FloatRect> Use RVO now that we use an array type compatible with it. Committed: https://pdfium.googlesource.com/pdfium/+/df964dfb34e648e27dce7bef785b204894a7058a

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove unused method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -69 lines) Patch
M core/fpdftext/fpdf_text_int.cpp View 1 14 chunks +38 lines, -41 lines 0 comments Download
M core/fpdftext/include/cpdf_linkextract.h View 1 chunk +1 line, -1 line 0 comments Download
M core/fpdftext/include/cpdf_textpage.h View 3 chunks +4 lines, -4 lines 0 comments Download
M core/fpdftext/include/cpdf_textpagefind.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M core/fxcrt/include/fx_coordinates.h View 1 chunk +0 lines, -1 line 0 comments Download
M fpdfsdk/fpdftext.cpp View 3 chunks +8 lines, -11 lines 0 comments Download
M fpdfsdk/fsdk_mgr.cpp View 1 chunk +3 lines, -5 lines 0 comments Download
M fpdfsdk/include/fsdk_mgr.h View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/javascript/Document.cpp View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
Tom Sepez
Lei, for review.
4 years, 8 months ago (2016-04-21 18:44:10 UTC) #3
Lei Zhang
lgtm https://codereview.chromium.org/1906903002/diff/1/core/fpdftext/fpdf_text_int.cpp File core/fpdftext/fpdf_text_int.cpp (right): https://codereview.chromium.org/1906903002/diff/1/core/fpdftext/fpdf_text_int.cpp#newcode2282 core/fpdftext/fpdf_text_int.cpp:2282: std::vector<CFX_FloatRect> CPDF_TextPageFind::GetRectArray() const { Can you double check ...
4 years, 8 months ago (2016-04-21 18:51:29 UTC) #4
Tom Sepez
https://codereview.chromium.org/1906903002/diff/1/core/fpdftext/fpdf_text_int.cpp File core/fpdftext/fpdf_text_int.cpp (right): https://codereview.chromium.org/1906903002/diff/1/core/fpdftext/fpdf_text_int.cpp#newcode2282 core/fpdftext/fpdf_text_int.cpp:2282: std::vector<CFX_FloatRect> CPDF_TextPageFind::GetRectArray() const { On 2016/04/21 18:51:29, Lei Zhang ...
4 years, 8 months ago (2016-04-21 18:55:31 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1906903002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1906903002/20001
4 years, 8 months ago (2016-04-21 18:56:39 UTC) #8
commit-bot: I haz the power
4 years, 8 months ago (2016-04-21 19:09:44 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/df964dfb34e648e27dce7bef785b204894a7...

Powered by Google App Engine
This is Rietveld 408576698