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

Issue 1399983003: wstring allocations waste up to 7 wasted bytes. (Closed)

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

Description

wstring allocations waste up to 7 wasted bytes. Consequence of having the same code in two places; fx_basic_bstring.cpp is correct, but fx_basic_wstring.cpp is missing one small change. Noticed while working on 542403, but this will not fix that issue. It is just a space savings. R=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/6eeffab789800e2afa1b9d10de70c9116db32355

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M core/src/fxcrt/fx_basic_wstring.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Tom Sepez
Lei, quick review. D'oh.
5 years, 2 months ago (2015-10-13 17:32:03 UTC) #1
Lei Zhang
lgtm
5 years, 2 months ago (2015-10-13 19:00:13 UTC) #2
Tom Sepez
5 years, 2 months ago (2015-10-13 19:02:17 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
6eeffab789800e2afa1b9d10de70c9116db32355 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698