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

Issue 1994323002: Remove Release() from IFXCRT_FileAccess (Closed)

Created:
4 years, 7 months ago by Tom Sepez
Modified:
4 years, 7 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

Remove Release() from IFXCRT_FileAccess. Remove some unused impls. Committed: https://pdfium.googlesource.com/pdfium/+/411f1185f44b7862a9b1c16e588407ae197752dd

Patch Set 1 #

Total comments: 4

Patch Set 2 : Remove support for the non-existent mystery platform. #

Patch Set 3 : Unique_ptr, create can't fail. #

Total comments: 2

Patch Set 4 : include <utility>. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -217 lines) Patch
M BUILD.gn View 1 1 chunk +0 lines, -2 lines 0 comments Download
M core/fxcrt/extension.h View 1 2 4 chunks +5 lines, -4 lines 0 comments Download
M core/fxcrt/fx_extension.cpp View 1 2 3 3 chunks +14 lines, -25 lines 0 comments Download
D core/fxcrt/fxcrt_platforms.h View 1 1 chunk +0 lines, -42 lines 0 comments Download
D core/fxcrt/fxcrt_platforms.cpp View 1 1 chunk +0 lines, -132 lines 0 comments Download
M core/fxcrt/fxcrt_posix.h View 1 chunk +0 lines, -1 line 0 comments Download
M core/fxcrt/fxcrt_posix.cpp View 3 chunks +5 lines, -4 lines 0 comments Download
M core/fxcrt/fxcrt_windows.h View 1 chunk +0 lines, -1 line 0 comments Download
M core/fxcrt/fxcrt_windows.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M pdfium.gyp View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Tom Sepez
Lei, for review.
4 years, 7 months ago (2016-05-19 22:10:00 UTC) #2
Lei Zhang
There's another FXCRT_FileAccess_Create() impl in core/fxcrt/fxcrt_platforms.cpp, but it's not obvious who is using it. https://codereview.chromium.org/1994323002/diff/1/core/fxcrt/fx_extension.cpp ...
4 years, 7 months ago (2016-05-19 22:50:05 UTC) #3
Tom Sepez
On 2016/05/19 22:50:05, Lei Zhang wrote: > There's another FXCRT_FileAccess_Create() impl in > core/fxcrt/fxcrt_platforms.cpp, but ...
4 years, 7 months ago (2016-05-19 23:05:59 UTC) #4
Tom Sepez
https://codereview.chromium.org/1994323002/diff/1/core/fxcrt/fx_extension.cpp File core/fxcrt/fx_extension.cpp (right): https://codereview.chromium.org/1994323002/diff/1/core/fxcrt/fx_extension.cpp#newcode83 core/fxcrt/fx_extension.cpp:83: if (!pFA) On 2016/05/19 22:50:05, Lei Zhang wrote: > ...
4 years, 7 months ago (2016-05-19 23:18:31 UTC) #6
Lei Zhang
lgtm https://codereview.chromium.org/1994323002/diff/40001/core/fxcrt/fx_extension.cpp File core/fxcrt/fx_extension.cpp (right): https://codereview.chromium.org/1994323002/diff/40001/core/fxcrt/fx_extension.cpp#newcode18 core/fxcrt/fx_extension.cpp:18: : m_pFile(std::move(pFA)), m_dwCount(1) {} #include <utility>
4 years, 7 months ago (2016-05-19 23:59:03 UTC) #7
Tom Sepez
https://codereview.chromium.org/1994323002/diff/40001/core/fxcrt/fx_extension.cpp File core/fxcrt/fx_extension.cpp (right): https://codereview.chromium.org/1994323002/diff/40001/core/fxcrt/fx_extension.cpp#newcode18 core/fxcrt/fx_extension.cpp:18: : m_pFile(std::move(pFA)), m_dwCount(1) {} On 2016/05/19 23:59:02, Lei Zhang ...
4 years, 7 months ago (2016-05-20 00:13:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1994323002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1994323002/60001
4 years, 7 months ago (2016-05-20 00:14:02 UTC) #11
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 00:31:06 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/411f1185f44b7862a9b1c16e588407ae1977...

Powered by Google App Engine
This is Rietveld 408576698