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

Issue 2347433004: Add short-cut in CFX_{Byte,Wide}String::Operator<() (Closed)

Created:
4 years, 3 months ago by Tom Sepez
Modified:
4 years, 3 months ago
Reviewers:
dsinclair
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Add short-cut in CFX_{Byte,Wide}String::Operator<() Strings are never less than themselves, and this will occur given the shared CoW nature of these strings. Committed: https://pdfium.googlesource.com/pdfium/+/8f53f54a9ccada2ea8651f2786f1bbee323f09b7

Patch Set 1 #

Total comments: 2

Patch Set 2 : Logic goof #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -10 lines) Patch
M core/fxcrt/fx_basic_bstring.cpp View 1 chunk +9 lines, -0 lines 0 comments Download
M core/fxcrt/fx_basic_wstring.cpp View 1 1 chunk +9 lines, -0 lines 0 comments Download
M core/fxcrt/include/fx_string.h View 2 chunks +2 lines, -10 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
Tom Sepez
Dan, for review. Similar to previous CL, and it occurs to me we can do ...
4 years, 3 months ago (2016-09-15 17:19:17 UTC) #4
dsinclair
https://codereview.chromium.org/2347433004/diff/1/core/fxcrt/fx_basic_wstring.cpp File core/fxcrt/fx_basic_wstring.cpp (right): https://codereview.chromium.org/2347433004/diff/1/core/fxcrt/fx_basic_wstring.cpp#newcode199 core/fxcrt/fx_basic_wstring.cpp:199: return true; false? Should we create a couple simple ...
4 years, 3 months ago (2016-09-15 17:21:34 UTC) #5
Tom Sepez
https://codereview.chromium.org/2347433004/diff/1/core/fxcrt/fx_basic_wstring.cpp File core/fxcrt/fx_basic_wstring.cpp (right): https://codereview.chromium.org/2347433004/diff/1/core/fxcrt/fx_basic_wstring.cpp#newcode199 core/fxcrt/fx_basic_wstring.cpp:199: return true; On 2016/09/15 17:21:34, dsinclair wrote: > false? ...
4 years, 3 months ago (2016-09-15 17:25:29 UTC) #6
dsinclair
lgtm
4 years, 3 months ago (2016-09-15 17:26:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2347433004/20001
4 years, 3 months ago (2016-09-15 17:43:30 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 18:55:06 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/8f53f54a9ccada2ea8651f2786f1bbee323f...

Powered by Google App Engine
This is Rietveld 408576698