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

Issue 1712353002: Remove IFX_BufferArchive. (Closed)

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

Description

Remove IFX_BufferArchive. Merge it into CFX_FileBufferArchive, since both are in the same header file and it is the only subclass. Also, bTakeOver is always false, and the buf size is always 32K. R=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/ac121aa23a5ee3290af151dddbbdc0f4644098d4

Patch Set 1 #

Patch Set 2 : Move blocks around. #

Patch Set 3 : bTakeOver is always false. #

Patch Set 4 : Use unique_ptr. #

Patch Set 5 : Cure some int-fection. #

Patch Set 6 : AttachFile return now void. #

Patch Set 7 : rebased. #

Total comments: 2

Patch Set 8 : pFile never null. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -87 lines) Patch
M core/include/fxcrt/fx_basic.h View 1 2 3 4 5 6 1 chunk +9 lines, -29 lines 0 comments Download
M core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -6 lines 0 comments Download
M core/src/fxcrt/fx_basic_buffer.cpp View 1 2 3 4 5 6 3 chunks +35 lines, -52 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
Tom Sepez
Lei, pls. review.
4 years, 10 months ago (2016-02-19 22:48:29 UTC) #4
Lei Zhang
lgtm https://codereview.chromium.org/1712353002/diff/120001/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp File core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp (right): https://codereview.chromium.org/1712353002/diff/120001/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp#newcode1948 core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp:1948: if (!pFile) { AFAICT, there's only 1 caller ...
4 years, 10 months ago (2016-02-19 23:09:57 UTC) #6
Tom Sepez
https://codereview.chromium.org/1712353002/diff/120001/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp File core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp (right): https://codereview.chromium.org/1712353002/diff/120001/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp#newcode1948 core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp:1948: if (!pFile) { On 2016/02/19 23:09:57, Lei Zhang wrote: ...
4 years, 10 months ago (2016-02-19 23:24:26 UTC) #7
Tom Sepez
4 years, 10 months ago (2016-02-19 23:25:05 UTC) #9
Message was sent while issue was closed.
Committed patchset #8 (id:140001) manually as
ac121aa23a5ee3290af151dddbbdc0f4644098d4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698