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

Issue 1108663003: Always initialize |m_totalWidth| in HarfBuzzShaper::shape. (Closed)

Created:
5 years, 8 months ago by Martin Barbella
Modified:
5 years, 7 months ago
CC:
blink-reviews, Rik, danakj, Dominik Röttsches, dshwang, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Always initialize |m_totalWidth| in HarfBuzzShaper::shape. R=leviw@chromium.org BUG=476647 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194541

Patch Set 1 #

Patch Set 2 : Add layout test #

Patch Set 3 : Add test expectations #

Total comments: 1

Patch Set 4 : Initialize in ctor #

Total comments: 1

Patch Set 5 : Remove redundant initialization #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -1 line) Patch
A LayoutTests/fast/text/shaping/shaping-width-initialized.html View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/shaping/shaping-width-initialized-expected.txt View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M Source/platform/fonts/shaping/HarfBuzzShaper.cpp View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (3 generated)
Martin Barbella
It would be nice to add the test for this as well, but I'm realizing ...
5 years, 8 months ago (2015-04-24 23:08:25 UTC) #1
leviw_travelin_and_unemployed
On 2015/04/24 at 23:08:25, mbarbella wrote: > It would be nice to add the test ...
5 years, 8 months ago (2015-04-24 23:37:04 UTC) #2
Martin Barbella
On 2015/04/24 23:37:04, leviw wrote: > On 2015/04/24 at 23:08:25, mbarbella wrote: > > It ...
5 years, 7 months ago (2015-04-27 05:37:52 UTC) #3
leviw_travelin_and_unemployed
On 2015/04/27 at 05:37:52, mbarbella wrote: > On 2015/04/24 23:37:04, leviw wrote: > > On ...
5 years, 7 months ago (2015-04-27 05:49:57 UTC) #4
Martin Barbella
On 2015/04/27 05:49:57, leviw wrote: > On 2015/04/27 at 05:37:52, mbarbella wrote: > > On ...
5 years, 7 months ago (2015-04-27 15:21:35 UTC) #5
Daniel Erat
https://codereview.chromium.org/1108663003/diff/40001/Source/platform/fonts/shaping/HarfBuzzShaper.cpp File Source/platform/fonts/shaping/HarfBuzzShaper.cpp (right): https://codereview.chromium.org/1108663003/diff/40001/Source/platform/fonts/shaping/HarfBuzzShaper.cpp#newcode541 Source/platform/fonts/shaping/HarfBuzzShaper.cpp:541: m_totalWidth = 0; mind initializing it in the c'tor ...
5 years, 7 months ago (2015-04-27 15:42:21 UTC) #7
Martin Barbella
On 2015/04/27 15:42:21, Daniel Erat wrote: > https://codereview.chromium.org/1108663003/diff/40001/Source/platform/fonts/shaping/HarfBuzzShaper.cpp > File Source/platform/fonts/shaping/HarfBuzzShaper.cpp (right): > > https://codereview.chromium.org/1108663003/diff/40001/Source/platform/fonts/shaping/HarfBuzzShaper.cpp#newcode541 ...
5 years, 7 months ago (2015-04-27 15:51:30 UTC) #8
Daniel Erat
thanks, lgtm
5 years, 7 months ago (2015-04-27 15:53:02 UTC) #9
leviw_travelin_and_unemployed
https://codereview.chromium.org/1108663003/diff/60001/Source/platform/fonts/shaping/HarfBuzzShaper.cpp File Source/platform/fonts/shaping/HarfBuzzShaper.cpp (right): https://codereview.chromium.org/1108663003/diff/60001/Source/platform/fonts/shaping/HarfBuzzShaper.cpp#newcode542 Source/platform/fonts/shaping/HarfBuzzShaper.cpp:542: m_totalWidth = 0; This should be redundant now that ...
5 years, 7 months ago (2015-04-27 18:19:35 UTC) #10
Martin Barbella
On 2015/04/27 18:19:35, leviw wrote: > https://codereview.chromium.org/1108663003/diff/60001/Source/platform/fonts/shaping/HarfBuzzShaper.cpp > File Source/platform/fonts/shaping/HarfBuzzShaper.cpp (right): > > https://codereview.chromium.org/1108663003/diff/60001/Source/platform/fonts/shaping/HarfBuzzShaper.cpp#newcode542 > ...
5 years, 7 months ago (2015-04-27 18:25:14 UTC) #11
leviw_travelin_and_unemployed
lgtm
5 years, 7 months ago (2015-04-27 18:27:39 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108663003/80001
5 years, 7 months ago (2015-04-27 18:28:05 UTC) #15
commit-bot: I haz the power
5 years, 7 months ago (2015-04-27 19:37:51 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194541

Powered by Google App Engine
This is Rietveld 408576698