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

Issue 2813433002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in modules/webdatabase (Closed)

Created:
3 years, 8 months ago by Hwanseung Lee
Modified:
3 years, 8 months ago
Reviewers:
tkent, haraken, michaeln
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in modules/webdatabase Replace ASSERT, RELEASE_ASSERT, and ASSERT_NOT_REACHED with DCHECK_op, CHECK_op, and NOTREACHED respectively in third_party/WebKit/Source/modules/webdatabase BUG=707641 Review-Url: https://codereview.chromium.org/2813433002 Cr-Commit-Position: refs/heads/master@{#463576} Committed: https://chromium.googlesource.com/chromium/src/+/226bee734ae45ec8634e1b1d9448cdce97d32290

Patch Set 1 #

Patch Set 2 : rebase and assert -> dcheck #

Total comments: 2

Patch Set 3 : test #

Patch Set 4 : fix build error #

Patch Set 5 : Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in modules/webdatabase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -151 lines) Patch
M third_party/WebKit/Source/modules/webdatabase/ChangeVersionWrapper.cpp View 1 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/DOMWindowWebDatabase.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/Database.cpp View 1 2 3 4 14 chunks +36 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/DatabaseContext.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp View 1 2 3 9 chunks +15 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/DatabaseTask.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp View 1 4 chunks +15 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLResultSet.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLResultSetRowList.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.cpp View 1 2 3 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp View 1 2 9 chunks +12 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.cpp View 1 2 18 chunks +24 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLTransactionCoordinator.cpp View 1 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLTransactionStateMachine.h View 1 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/sqlite/SQLValue.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp View 1 2 9 chunks +34 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteTransaction.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 50 (41 generated)
Hwanseung Lee
PTAL, thank you.
3 years, 8 months ago (2017-04-09 11:09:37 UTC) #8
haraken
LGTM
3 years, 8 months ago (2017-04-09 13:01:44 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/2813433002/1
3 years, 8 months ago (2017-04-09 22:31:48 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/406406)
3 years, 8 months ago (2017-04-09 22:38:41 UTC) #13
tkent
> Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in modules/webdatabase This CL looks to handle only ASSERT_NOT_REACHED. ...
3 years, 8 months ago (2017-04-09 23:09:42 UTC) #14
michaeln
https://codereview.chromium.org/2813433002/diff/20001/third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.cpp File third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.cpp (right): https://codereview.chromium.org/2813433002/diff/20001/third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.cpp#newcode251 third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.cpp:251: DHCECK(!result_set_->IsValid()); lgtm % typo here
3 years, 8 months ago (2017-04-10 22:59:01 UTC) #19
Hwanseung Lee
https://codereview.chromium.org/2813433002/diff/20001/third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.cpp File third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.cpp (right): https://codereview.chromium.org/2813433002/diff/20001/third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.cpp#newcode251 third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.cpp:251: DHCECK(!result_set_->IsValid()); On 2017/04/10 22:59:00, michaeln wrote: > lgtm % ...
3 years, 8 months ago (2017-04-11 08:26:09 UTC) #42
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/2813433002/120001
3 years, 8 months ago (2017-04-11 08:28:00 UTC) #47
commit-bot: I haz the power
3 years, 8 months ago (2017-04-11 08:40:53 UTC) #50
Message was sent while issue was closed.
Committed patchset #5 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/226bee734ae45ec8634e1b1d9448...

Powered by Google App Engine
This is Rietveld 408576698