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

Issue 2263083002: Refactor CachingWordShapeIterator::nextWordEndIndex (Closed)

Created:
4 years, 4 months ago by kojii
Modified:
4 years, 3 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

Refactor CachingWordShapeIterator::nextWordEndIndex This patch refactors CachingWordShapeIterator::nextWordEndIndex so that: 1. Better readability. 2. Split 3 cases into 3 different loops to make it possible to identify the loop from the stack trace. BUG=639085 Committed: https://crrev.com/103f7f70a9162ce1946ee09b08a1ee7bb6352d17 Cr-Commit-Position: refs/heads/master@{#413463}

Patch Set 1 #

Patch Set 2 : Comment editorial #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -37 lines) Patch
M third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h View 1 3 chunks +39 lines, -37 lines 0 comments Download
M third_party/WebKit/Source/platform/text/TextRun.h View 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
kojii
PTAL. Reviewed the functions but can't find any cases where m_textRun[] can be index-out-of-range. Hopefully ...
4 years, 4 months ago (2016-08-22 08:52:23 UTC) #5
drott
LGTM with some nits on comment wording. For testing, I sometimes need to disable CJK ...
4 years, 4 months ago (2016-08-22 10:16:14 UTC) #6
kojii
On 2016/08/22 at 10:16:14, drott wrote: > For testing, I sometimes need to disable CJK ...
4 years, 4 months ago (2016-08-22 13:17:46 UTC) #9
drott
On 2016/08/22 at 13:17:46, kojii wrote: > On 2016/08/22 at 10:16:14, drott wrote: > > ...
4 years, 4 months ago (2016-08-22 13:33:10 UTC) #10
kojii
Comments updated.
4 years, 4 months ago (2016-08-22 13:40:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2263083002/40001
4 years, 3 months ago (2016-08-22 17:17:25 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 3 months ago (2016-08-22 17:23:23 UTC) #23
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/103f7f70a9162ce1946ee09b08a1ee7bb6352d17 Cr-Commit-Position: refs/heads/master@{#413463}
4 years, 3 months ago (2016-08-22 17:25:53 UTC) #25
eae
4 years, 3 months ago (2016-08-22 17:26:02 UTC) #26
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698