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

Issue 2003843002: Remove Release() from CFX_RTFBreak (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 CFX_RTFBreak Use unique_ptrs in several places in xfa_textlayout.h Committed: https://pdfium.googlesource.com/pdfium/+/7ee2e53f741cc17f35a4fece5980e60fded93861

Patch Set 1 #

Total comments: 12

Patch Set 2 : Braces, virtual, and override. #

Total comments: 2

Patch Set 3 : Explicit. #

Patch Set 4 : Consistent use of override. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -80 lines) Patch
M xfa/fgas/layout/fgas_rtfbreak.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/app/xfa_textlayout.h View 1 2 3 7 chunks +24 lines, -24 lines 0 comments Download
M xfa/fxfa/app/xfa_textlayout.cpp View 1 16 chunks +43 lines, -55 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
Tom Sepez
Lei, for review. https://codereview.chromium.org/2003843002/diff/1/xfa/fxfa/app/xfa_textlayout.cpp File xfa/fxfa/app/xfa_textlayout.cpp (left): https://codereview.chromium.org/2003843002/diff/1/xfa/fxfa/app/xfa_textlayout.cpp#oldcode42 xfa/fxfa/app/xfa_textlayout.cpp:42: delete m_pAllocator; (!!!) given line 48
4 years, 7 months ago (2016-05-20 22:51:25 UTC) #1
Tom Sepez
Actually adding Lei.
4 years, 7 months ago (2016-05-20 22:52:00 UTC) #4
Lei Zhang
https://codereview.chromium.org/2003843002/diff/1/xfa/fxfa/app/xfa_textlayout.cpp File xfa/fxfa/app/xfa_textlayout.cpp (right): https://codereview.chromium.org/2003843002/diff/1/xfa/fxfa/app/xfa_textlayout.cpp#newcode1272 xfa/fxfa/app/xfa_textlayout.cpp:1272: if (!m_pAllocator) braces https://codereview.chromium.org/2003843002/diff/1/xfa/fxfa/app/xfa_textlayout.h File xfa/fxfa/app/xfa_textlayout.h (right): https://codereview.chromium.org/2003843002/diff/1/xfa/fxfa/app/xfa_textlayout.h#newcode180 xfa/fxfa/app/xfa_textlayout.h:180: ...
4 years, 7 months ago (2016-05-20 23:00:52 UTC) #5
Tom Sepez
https://codereview.chromium.org/2003843002/diff/1/xfa/fxfa/app/xfa_textlayout.cpp File xfa/fxfa/app/xfa_textlayout.cpp (right): https://codereview.chromium.org/2003843002/diff/1/xfa/fxfa/app/xfa_textlayout.cpp#newcode1272 xfa/fxfa/app/xfa_textlayout.cpp:1272: if (!m_pAllocator) On 2016/05/20 23:00:52, Lei Zhang wrote: > ...
4 years, 7 months ago (2016-05-20 23:07:30 UTC) #6
Lei Zhang
lgtm https://codereview.chromium.org/2003843002/diff/20001/xfa/fxfa/app/xfa_textlayout.h File xfa/fxfa/app/xfa_textlayout.h (right): https://codereview.chromium.org/2003843002/diff/20001/xfa/fxfa/app/xfa_textlayout.h#newcode325 xfa/fxfa/app/xfa_textlayout.h:325: CXFA_TextLayout(CXFA_TextProvider* pTextProvider); explict? no?
4 years, 7 months ago (2016-05-20 23:08:42 UTC) #7
Tom Sepez
https://codereview.chromium.org/2003843002/diff/20001/xfa/fxfa/app/xfa_textlayout.h File xfa/fxfa/app/xfa_textlayout.h (right): https://codereview.chromium.org/2003843002/diff/20001/xfa/fxfa/app/xfa_textlayout.h#newcode325 xfa/fxfa/app/xfa_textlayout.h:325: CXFA_TextLayout(CXFA_TextProvider* pTextProvider); On 2016/05/20 23:08:41, Lei Zhang wrote: > ...
4 years, 7 months ago (2016-05-20 23:10:04 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2003843002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2003843002/40001
4 years, 7 months ago (2016-05-20 23:10:13 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_xfa on master.tryserver.client.pdfium (JOB_FAILED, https://build.chromium.org/p/tryserver.client.pdfium/builders/linux_xfa/builds/707)
4 years, 7 months ago (2016-05-21 00:43:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2003843002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2003843002/60001
4 years, 7 months ago (2016-05-23 17:14:53 UTC) #16
commit-bot: I haz the power
4 years, 7 months ago (2016-05-23 17:55:53 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/7ee2e53f741cc17f35a4fece5980e60fded9...

Powered by Google App Engine
This is Rietveld 408576698