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

Issue 2518933002: Remove RELEASE_NOTREACHED(). (Closed)

Created:
4 years, 1 month ago by tkent
Modified:
4 years, 1 month ago
Reviewers:
esprehn, Yuta Kitamura
CC:
Mads Ager (chromium), blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-wtf_chromium.org, blink-worker-reviews_chromium.org, chromium-reviews, falken+watch_chromium.org, haraken, hongchan, horo+watch_chromium.org, kinuko+worker_chromium.org, kouhei+heap_chromium.org, Mikhail, oilpan-reviews, palmer, Raymond Toy, shimazu+worker_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove RELEASE_NOTREACHED(). It was introduced to replace RELEASE_ASSERT_NOT_REACHED() inherited from WebKit. However, it's not so popular and using LOG(FATAL) directly is enough. BUG=596760 Committed: https://crrev.com/618a03472d837aa934ab9c9a8f2b326f031d0e88 Cr-Commit-Position: refs/heads/master@{#433478}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -83 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/PrivateScriptRunner.cpp View 10 chunks +41 lines, -57 lines 0 comments Download
M third_party/WebKit/Source/core/frame/DOMWindow.cpp View 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp View 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkletGlobalScope.cpp View 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/FetchManager.cpp View 2 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp View 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/wtf/Assertions.h View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
tkent
yutak@, would you review this please?
4 years, 1 month ago (2016-11-21 03:30:58 UTC) #6
Yuta Kitamura
lgtm
4 years, 1 month ago (2016-11-21 05:39:41 UTC) #7
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/2518933002/1
4 years, 1 month ago (2016-11-21 05:43:47 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-21 05:47:50 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/618a03472d837aa934ab9c9a8f2b326f031d0e88 Cr-Commit-Position: refs/heads/master@{#433478}
4 years, 1 month ago (2016-11-21 05:49:54 UTC) #13
esprehn
I think this probably needs a PSA, it's not at all clear that LOG(FATAL) results ...
4 years, 1 month ago (2016-11-21 20:24:02 UTC) #15
Yuta Kitamura
On 2016/11/21 20:24:02, esprehn wrote: > I think this probably needs a PSA, it's not ...
4 years, 1 month ago (2016-11-22 01:24:10 UTC) #16
tkent
4 years, 1 month ago (2016-11-22 02:25:23 UTC) #17
Message was sent while issue was closed.
On 2016/11/22 at 01:24:10, yutak wrote:
> On 2016/11/21 20:24:02, esprehn wrote:
> > I think this probably needs a PSA, it's not at all clear that LOG(FATAL)
results
> > in a CRASH(), generally LOG is passive.
> 
> Just to give another data point, I actually knew that. I thought
> that was common.

Blink-only contributors might be unfamiliar with it.
I'll send a update of ASSERT deprecation, and mention this change.

Powered by Google App Engine
This is Rietveld 408576698