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 1099193002: Add missing operators for CFX_WideStringC. (Closed)

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

Description

Patch Set 1 #

Total comments: 7

Patch Set 2 : const, size_t and L''. #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -4 lines) Patch
M core/include/fxcrt/fx_string.h View 1 2 2 chunks +14 lines, -4 lines 0 comments Download
M core/src/fxcrt/fx_basic_wstring_unittest.cpp View 1 2 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
Tom Sepez
Lei, Bruce, for review.
5 years, 8 months ago (2015-04-21 20:05:04 UTC) #2
Lei Zhang
https://codereview.chromium.org/1099193002/diff/1/core/include/fxcrt/fx_string.h File core/include/fxcrt/fx_string.h (right): https://codereview.chromium.org/1099193002/diff/1/core/include/fxcrt/fx_string.h#newcode612 core/include/fxcrt/fx_string.h:612: const FX_WCHAR& operator[] (int index) const Same as last ...
5 years, 8 months ago (2015-04-21 22:07:56 UTC) #3
Tom Sepez
> https://codereview.chromium.org/1099193002/diff/1/core/src/fxcrt/fx_basic_wstring_unittest.cpp#newcode34 > core/src/fxcrt/fx_basic_wstring_unittest.cpp:34: EXPECT_EQ('a', abc[0]); > I'm surprised this compiles given that operator[] returns ...
5 years, 8 months ago (2015-04-21 22:17:11 UTC) #4
Tom Sepez
On 2015/04/21 22:17:11, Tom Sepez wrote: > > > https://codereview.chromium.org/1099193002/diff/1/core/src/fxcrt/fx_basic_wstring_unittest.cpp#newcode34 > > core/src/fxcrt/fx_basic_wstring_unittest.cpp:34: EXPECT_EQ('a', abc[0]); ...
5 years, 8 months ago (2015-04-21 22:18:45 UTC) #5
Lei Zhang
lgtm At least in Chromium I've always found EXPECT_EQ() to be much more picky w.r.t. ...
5 years, 8 months ago (2015-04-21 22:32:42 UTC) #6
brucedawson
https://codereview.chromium.org/1099193002/diff/1/core/include/fxcrt/fx_string.h File core/include/fxcrt/fx_string.h (right): https://codereview.chromium.org/1099193002/diff/1/core/include/fxcrt/fx_string.h#newcode617 core/include/fxcrt/fx_string.h:617: bool operator< (const CFX_WideStringC& that) The operator itself needs ...
5 years, 8 months ago (2015-04-22 10:47:12 UTC) #7
Tom Sepez
https://codereview.chromium.org/1099193002/diff/1/core/include/fxcrt/fx_string.h File core/include/fxcrt/fx_string.h (right): https://codereview.chromium.org/1099193002/diff/1/core/include/fxcrt/fx_string.h#newcode612 core/include/fxcrt/fx_string.h:612: const FX_WCHAR& operator[] (int index) const On 2015/04/21 22:07:56, ...
5 years, 8 months ago (2015-04-22 17:06:46 UTC) #8
Tom Sepez
Bruce to TBR during absence.
5 years, 8 months ago (2015-04-22 19:15:55 UTC) #9
Tom Sepez
5 years, 8 months ago (2015-04-22 19:16:35 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
fbfcbc5e82d89585a63a77c63e782fb6768c8dc8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698