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

Issue 2533713002: Call OOM_CRASH when ArrayBuffer allocation fails (Closed)

Created:
4 years ago by yhirano
Modified:
4 years ago
Reviewers:
Yuta Kitamura, Yuki
CC:
chromium-reviews, blink-reviews, blink-reviews-wtf_chromium.org, Mikhail, tyoshino (SeeGerritForStatus)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Call OOM_CRASH when ArrayBuffer allocation fails BUG=None Committed: https://crrev.com/95033a3ed5b5949ea9a59f818dd033f318e24538 Cr-Commit-Position: refs/heads/master@{#434653}

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M third_party/WebKit/Source/wtf/typed_arrays/ArrayBuffer.h View 1 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 22 (14 generated)
yhirano
Hi, do you think this is a good change? context: https://groups.google.com/a/chromium.org/forum/?utm_medium=email&utm_source=footer#!msg/platform-architecture-dev/MP0k9WGnCjA/zIBiJtilBwAJ cc: tyoshino@
4 years ago (2016-11-28 08:23:37 UTC) #5
Yuki
LGTM. https://codereview.chromium.org/2533713002/diff/1/third_party/WebKit/Source/wtf/typed_arrays/ArrayBuffer.h File third_party/WebKit/Source/wtf/typed_arrays/ArrayBuffer.h (right): https://codereview.chromium.org/2533713002/diff/1/third_party/WebKit/Source/wtf/typed_arrays/ArrayBuffer.h#newcode134 third_party/WebKit/Source/wtf/typed_arrays/ArrayBuffer.h:134: if (!contents.data()) nit: We may want UNLIKELY? Not ...
4 years ago (2016-11-28 08:30:36 UTC) #6
yhirano
https://codereview.chromium.org/2533713002/diff/1/third_party/WebKit/Source/wtf/typed_arrays/ArrayBuffer.h File third_party/WebKit/Source/wtf/typed_arrays/ArrayBuffer.h (right): https://codereview.chromium.org/2533713002/diff/1/third_party/WebKit/Source/wtf/typed_arrays/ArrayBuffer.h#newcode134 third_party/WebKit/Source/wtf/typed_arrays/ArrayBuffer.h:134: if (!contents.data()) On 2016/11/28 08:30:36, Yuki wrote: > nit: ...
4 years ago (2016-11-28 08:35:47 UTC) #9
yhirano
+yutak@ for OWNER review.
4 years ago (2016-11-28 08:36:02 UTC) #11
Yuta Kitamura
lgtm
4 years ago (2016-11-28 08:59:55 UTC) #12
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/2533713002/20001
4 years ago (2016-11-28 12:43:45 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-28 14:16:10 UTC) #20
commit-bot: I haz the power
4 years ago (2016-11-28 14:17:44 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/95033a3ed5b5949ea9a59f818dd033f318e24538
Cr-Commit-Position: refs/heads/master@{#434653}

Powered by Google App Engine
This is Rietveld 408576698