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

Issue 1834203002: use std::vector in more places in JavaScript bindings code. (Closed)

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

Description

use std::vector in more places in JavaScript bindings code. use unique_ptrs for app:m_Timers. BUG= Committed: https://pdfium.googlesource.com/pdfium/+/41a53ad771411db3cdd98822f9d240456767fba8

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : rebase #

Patch Set 4 : Nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -352 lines) Patch
M fpdfsdk/javascript/Field.h View 1 4 chunks +18 lines, -37 lines 0 comments Download
M fpdfsdk/javascript/Field.cpp View 1 7 chunks +54 lines, -95 lines 0 comments Download
M fpdfsdk/javascript/JS_GlobalData.h View 4 chunks +11 lines, -2 lines 0 comments Download
M fpdfsdk/javascript/JS_GlobalData.cpp View 5 chunks +88 lines, -115 lines 0 comments Download
M fpdfsdk/javascript/JS_Runtime.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M fpdfsdk/javascript/JS_Runtime.cpp View 1 2 3 3 chunks +10 lines, -21 lines 0 comments Download
M fpdfsdk/javascript/app.h View 3 chunks +4 lines, -2 lines 0 comments Download
M fpdfsdk/javascript/app.cpp View 7 chunks +55 lines, -78 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
Tom Sepez
Dan, for review.
4 years, 8 months ago (2016-03-28 16:38:06 UTC) #3
dsinclair
lgtm w/ nits https://codereview.chromium.org/1834203002/diff/20001/fpdfsdk/javascript/JS_GlobalData.cpp File fpdfsdk/javascript/JS_GlobalData.cpp (right): https://codereview.chromium.org/1834203002/diff/20001/fpdfsdk/javascript/JS_GlobalData.cpp#newcode214 fpdfsdk/javascript/JS_GlobalData.cpp:214: m_arrayGlobalData.push_back(std::move(pNewData)); nit: This block is very ...
4 years, 8 months ago (2016-03-28 18:57:33 UTC) #4
Tom Sepez
https://codereview.chromium.org/1834203002/diff/20001/fpdfsdk/javascript/JS_GlobalData.cpp File fpdfsdk/javascript/JS_GlobalData.cpp (right): https://codereview.chromium.org/1834203002/diff/20001/fpdfsdk/javascript/JS_GlobalData.cpp#newcode214 fpdfsdk/javascript/JS_GlobalData.cpp:214: m_arrayGlobalData.push_back(std::move(pNewData)); On 2016/03/28 18:57:33, dsinclair wrote: > nit: This ...
4 years, 8 months ago (2016-03-28 23:47:18 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1834203002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1834203002/60001
4 years, 8 months ago (2016-03-28 23:49:01 UTC) #8
commit-bot: I haz the power
4 years, 8 months ago (2016-03-28 23:59:35 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/41a53ad771411db3cdd98822f9d240456767...

Powered by Google App Engine
This is Rietveld 408576698