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

Issue 2345633007: Don't overflow in LayoutText::width() on a huge length. (Closed)

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

Description

Don't overflow in LayoutText::width() on a huge length. BUG=647820, 641261 Committed: https://crrev.com/197c495edac589ae3279e7a02a7248f4adb12934 Cr-Commit-Position: refs/heads/master@{#419391}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Use numeric_limits rather than USHRT_MAX. #

Patch Set 3 : Sync to head. #

Patch Set 4 : Tweak test ranges for Mac results. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -1 line) Patch
M third_party/WebKit/Source/core/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutText.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/core/layout/LayoutTextTest.cpp View 1 2 3 1 chunk +88 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
wkorman
https://codereview.chromium.org/2345633007/diff/1/third_party/WebKit/Source/core/layout/LayoutText.cpp File third_party/WebKit/Source/core/layout/LayoutText.cpp (right): https://codereview.chromium.org/2345633007/diff/1/third_party/WebKit/Source/core/layout/LayoutText.cpp#newcode1590 third_party/WebKit/Source/core/layout/LayoutText.cpp:1590: // TODO(wkorman): Incorporate constraints around |from| and |len| in ...
4 years, 3 months ago (2016-09-17 00:17:23 UTC) #2
eae
LGTM https://codereview.chromium.org/2345633007/diff/1/third_party/WebKit/Source/core/layout/LayoutText.cpp File third_party/WebKit/Source/core/layout/LayoutText.cpp (right): https://codereview.chromium.org/2345633007/diff/1/third_party/WebKit/Source/core/layout/LayoutText.cpp#newcode1590 third_party/WebKit/Source/core/layout/LayoutText.cpp:1590: // TODO(wkorman): Incorporate constraints around |from| and |len| ...
4 years, 3 months ago (2016-09-17 08:35:51 UTC) #3
wkorman
https://codereview.chromium.org/2345633007/diff/1/third_party/WebKit/Source/core/layout/LayoutText.cpp File third_party/WebKit/Source/core/layout/LayoutText.cpp (right): https://codereview.chromium.org/2345633007/diff/1/third_party/WebKit/Source/core/layout/LayoutText.cpp#newcode1590 third_party/WebKit/Source/core/layout/LayoutText.cpp:1590: // TODO(wkorman): Incorporate constraints around |from| and |len| in ...
4 years, 3 months ago (2016-09-17 21:16:42 UTC) #4
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/2345633007/40001
4 years, 3 months ago (2016-09-17 21:17:17 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/298334)
4 years, 3 months ago (2016-09-17 23:23:47 UTC) #9
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/2345633007/60001
4 years, 3 months ago (2016-09-18 00:49:19 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-18 02:25:42 UTC) #13
commit-bot: I haz the power
4 years, 3 months ago (2016-09-18 02:32:00 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/197c495edac589ae3279e7a02a7248f4adb12934
Cr-Commit-Position: refs/heads/master@{#419391}

Powered by Google App Engine
This is Rietveld 408576698