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

Issue 1877993002: Make CFX_{Byte,Wide}String::Remove() no-touch if possible (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 CFX_{Byte,Wide}String::Remove() no-touch if possible Don't try to copy the string until we are sure we need to change it. Committed: https://pdfium.googlesource.com/pdfium/+/e09c1e4db92e28a332f55aa3c80ceb44f4b74287

Patch Set 1 #

Total comments: 2

Patch Set 2 : Extra blank line. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -4 lines) Patch
M core/fxcrt/fx_basic_bstring.cpp View 1 chunk +15 lines, -2 lines 0 comments Download
M core/fxcrt/fx_basic_bstring_unittest.cpp View 1 chunk +29 lines, -0 lines 0 comments Download
M core/fxcrt/fx_basic_wstring.cpp View 1 1 chunk +15 lines, -2 lines 0 comments Download
M core/fxcrt/fx_basic_wstring_unittest.cpp View 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
Tom Sepez
Lei, for review. Thanks.
4 years, 8 months ago (2016-04-11 21:36:43 UTC) #2
Lei Zhang
lgtm https://codereview.chromium.org/1877993002/diff/1/core/fxcrt/fx_basic_wstring.cpp File core/fxcrt/fx_basic_wstring.cpp (right): https://codereview.chromium.org/1877993002/diff/1/core/fxcrt/fx_basic_wstring.cpp#newcode682 core/fxcrt/fx_basic_wstring.cpp:682: BTW, there's an extra blank line vs bstring ...
4 years, 8 months ago (2016-04-11 21:47:57 UTC) #3
Tom Sepez
https://codereview.chromium.org/1877993002/diff/1/core/fxcrt/fx_basic_wstring.cpp File core/fxcrt/fx_basic_wstring.cpp (right): https://codereview.chromium.org/1877993002/diff/1/core/fxcrt/fx_basic_wstring.cpp#newcode682 core/fxcrt/fx_basic_wstring.cpp:682: On 2016/04/11 21:47:57, Lei Zhang wrote: > BTW, there's ...
4 years, 8 months ago (2016-04-12 00:36:46 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1877993002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1877993002/20001
4 years, 8 months ago (2016-04-12 00:36:56 UTC) #7
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 01:01:16 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/e09c1e4db92e28a332f55aa3c80ceb44f4b7...

Powered by Google App Engine
This is Rietveld 408576698