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

Issue 2090503002: Change ShapeResultShaping::computeSpacing to use TextRun::operator[] (Closed)

Created:
4 years, 6 months ago by kojii
Modified:
4 years, 6 months ago
Reviewers:
drott, eae
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change ShapeResultShaping::computeSpacing to use TextRun::operator[] ShapeResultShaping::computeSpacing used to use raw pointer to character buffer in TextRun. This patch changes it to use TextRun::operator[] so that it can rely on the range-check built into TextRun. BUG=621843 Committed: https://crrev.com/b18b753c893ad73fea5bd40046b7f55d1247fd10 Cr-Commit-Position: refs/heads/master@{#401250}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -74 lines) Patch
M third_party/WebKit/Source/platform/fonts/shaping/ShapeResultSpacing.h View 2 chunks +1 line, -71 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/shaping/ShapeResultSpacing.cpp View 1 chunk +54 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
kojii
PTAL.
4 years, 6 months ago (2016-06-22 07:11:42 UTC) #4
eae
LGTM. OK. This might have performance implications, let's keep an eye on the graphs.
4 years, 6 months ago (2016-06-22 10:52:47 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2090503002/1
4 years, 6 months ago (2016-06-22 11:02:55 UTC) #7
kojii
On 2016/06/22 at 10:52:47, eae wrote: > This might have performance implications, let's keep an ...
4 years, 6 months ago (2016-06-22 11:04:10 UTC) #8
eae
Sounds good, thanks kojii! -- You received this message because you are subscribed to the ...
4 years, 6 months ago (2016-06-22 11:05:04 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-22 11:06:50 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/b18b753c893ad73fea5bd40046b7f55d1247fd10 Cr-Commit-Position: refs/heads/master@{#401250}
4 years, 6 months ago (2016-06-22 11:08:03 UTC) #12
eae
4 years, 6 months ago (2016-06-22 11:12:59 UTC) #13
Message was sent while issue was closed.
Sounds good, thanks kojii!

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698