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

Issue 608083003: Don't populate GlyphBuffer in InlineTextBox::characterWidths (Closed)

Created:
6 years, 2 months ago by eae
Modified:
6 years, 2 months ago
Reviewers:
Dominik Röttsches
CC:
blink-reviews, blink-reviews-rendering, zoltan1, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, rune+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Don't populate GlyphBuffer in InlineTextBox::characterWidths The current InlineTextBox::characterWidths implementation populates a GlyphBuffer even though it is never used. Change the implementation to not pass a GlyphBuffer and thereby avoiding the unnecessary work and allocation costs. R=dominik.rottsches@intel.com Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182843

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M Source/core/rendering/InlineTextBox.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
eae
6 years, 2 months ago (2014-09-27 08:32:58 UTC) #1
eae
Ready for review.
6 years, 2 months ago (2014-09-27 12:44:00 UTC) #3
Dominik Röttsches
https://codereview.chromium.org/608083003/diff/1/Source/core/rendering/InlineTextBox.cpp File Source/core/rendering/InlineTextBox.cpp (right): https://codereview.chromium.org/608083003/diff/1/Source/core/rendering/InlineTextBox.cpp#newcode1244 Source/core/rendering/InlineTextBox.cpp:1244: it.advance(i + 1); We can do it like this ...
6 years, 2 months ago (2014-09-29 08:06:55 UTC) #4
Dominik Röttsches
What I meant to say: LGTM, but perhaps you could consider the above for further ...
6 years, 2 months ago (2014-09-29 08:08:47 UTC) #5
eae
Thanks https://codereview.chromium.org/608083003/diff/1/Source/core/rendering/InlineTextBox.cpp File Source/core/rendering/InlineTextBox.cpp (right): https://codereview.chromium.org/608083003/diff/1/Source/core/rendering/InlineTextBox.cpp#newcode1244 Source/core/rendering/InlineTextBox.cpp:1244: it.advance(i + 1); On 2014/09/29 08:06:55, Dominik Röttsches ...
6 years, 2 months ago (2014-09-29 13:15:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/608083003/20001
6 years, 2 months ago (2014-09-29 13:33:39 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-09-29 14:58:38 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 182843

Powered by Google App Engine
This is Rietveld 408576698