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

Issue 2588193003: Add RELEASE_ASSERT to InlineTextBox::constructTextRun (Closed)

Created:
4 years ago by kojii
Modified:
4 years ago
Reviewers:
esprehn
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add RELEASE_ASSERT to InlineTextBox::constructTextRun This patch adds RELEASE_CHECK of offset and length to InlineTextBox::constructTextRun(). StringView constructor only does SECURITY_DCHECK intentionally, see http://crrev.com/2587863002. BUG=671328 Committed: https://crrev.com/74c7fa91b738155df1b8bb871d81f92c28c7941a Cr-Commit-Position: refs/heads/master@{#439721}

Patch Set 1 #

Patch Set 2 : Add comment #

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

Messages

Total messages: 21 (15 generated)
kojii
PTAL. This isn't required with crrev.com/2586853002, but is this still nice to take, or is ...
4 years ago (2016-12-20 03:37:00 UTC) #5
esprehn
lgtm. I suspect in this case the one extra branch is not a big deal ...
4 years ago (2016-12-20 03:44:57 UTC) #6
kojii
On 2016/12/20 at 03:44:57, esprehn wrote: > You might want to add a comment to ...
4 years ago (2016-12-20 04:19:10 UTC) #11
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/2588193003/20001
4 years ago (2016-12-20 05:53:42 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-20 05:58:55 UTC) #19
commit-bot: I haz the power
4 years ago (2016-12-20 06:01:33 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/74c7fa91b738155df1b8bb871d81f92c28c7941a
Cr-Commit-Position: refs/heads/master@{#439721}

Powered by Google App Engine
This is Rietveld 408576698