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

Issue 1882173002: Make CJS_PublicMethods::StrTrim() take a CFX_ByteString (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

Make CJS_PublicMethods::StrTrim() take a CFX_ByteString Similar to https://codereview.chromium.org/1876203002 but in a different file. The result is still not as efficient as possible owing to the conversions back and forth to C types. Convert these methods to ordinary functions in anon namespace while we're at it. Committed: https://pdfium.googlesource.com/pdfium/+/745611b68cdfcbfb50d792694ed2dc7be9f4f936

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -65 lines) Patch
M fpdfsdk/javascript/PublicMethods.h View 1 chunk +2 lines, -10 lines 0 comments Download
M fpdfsdk/javascript/PublicMethods.cpp View 6 chunks +32 lines, -55 lines 1 comment Download

Messages

Total messages: 9 (4 generated)
Tom Sepez
Lei, deja vu.
4 years, 8 months ago (2016-04-12 19:19:21 UTC) #3
Tom Sepez
https://codereview.chromium.org/1882173002/diff/1/fpdfsdk/javascript/PublicMethods.cpp File fpdfsdk/javascript/PublicMethods.cpp (right): https://codereview.chromium.org/1882173002/diff/1/fpdfsdk/javascript/PublicMethods.cpp#newcode917 fpdfsdk/javascript/PublicMethods.cpp:917: CFX_WideString wstrValue = StrTrim(w_strValue); note: trimming right is not ...
4 years, 8 months ago (2016-04-12 19:25:33 UTC) #4
Lei Zhang
lgtm
4 years, 8 months ago (2016-04-12 22:07:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882173002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882173002/1
4 years, 8 months ago (2016-04-12 23:46:21 UTC) #7
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 23:46:40 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://pdfium.googlesource.com/pdfium/+/745611b68cdfcbfb50d792694ed2dc7be9f4...

Powered by Google App Engine
This is Rietveld 408576698