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

Issue 404013: Fixes a crash source in test_shell when running DB tests.... (Closed)

Created:
11 years, 1 month ago by dumi
Modified:
9 years, 7 months ago
Reviewers:
michaeln
CC:
chromium-reviews_googlegroups.com, darin (slow to review), pam+watch_chromium.org
Visibility:
Public.

Description

Fixes a crash source in test_shell when running DB tests. BUG=none TEST=none

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -7 lines) Patch
M webkit/tools/test_shell/simple_database_system.h View 1 2 2 chunks +17 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/simple_database_system.cc View 1 2 5 chunks +29 lines, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
michaeln
http://codereview.chromium.org/404013/diff/1/3 File webkit/tools/test_shell/simple_database_system.cc (right): http://codereview.chromium.org/404013/diff/1/3#newcode107 Line 107: file_name = file_names_[vfs_file_name]; This repeated block of code ...
11 years, 1 month ago (2009-11-18 00:35:39 UTC) #1
dumi
http://codereview.chromium.org/404013/diff/1/3 File webkit/tools/test_shell/simple_database_system.cc (right): http://codereview.chromium.org/404013/diff/1/3#newcode107 Line 107: file_name = file_names_[vfs_file_name]; On 2009/11/18 00:35:39, michaeln wrote: ...
11 years, 1 month ago (2009-11-18 01:14:26 UTC) #2
michaeln
a couple of things... otherwise LGTM http://codereview.chromium.org/404013/diff/5001/5003 File webkit/tools/test_shell/simple_database_system.cc (right): http://codereview.chromium.org/404013/diff/5001/5003#newcode140 Line 140: file_util::Delete(db_tracker_->DatabaseDirectory(), true); ...
11 years, 1 month ago (2009-11-18 01:31:57 UTC) #3
dumi
11 years, 1 month ago (2009-11-18 01:42:09 UTC) #4
http://codereview.chromium.org/404013/diff/5001/5003
File webkit/tools/test_shell/simple_database_system.cc (right):

http://codereview.chromium.org/404013/diff/5001/5003#newcode140
Line 140: file_util::Delete(db_tracker_->DatabaseDirectory(), true);
On 2009/11/18 01:31:57, michaeln wrote:
> I think you should clear the file_names_ collection here too just to be
complete
> about clearing things.

done.

http://codereview.chromium.org/404013/diff/5001/5002
File webkit/tools/test_shell/simple_database_system.h (right):

http://codereview.chromium.org/404013/diff/5001/5002#newcode59
Line 59: // only on the main thread. However, the VFS calls run on the DB thread
On 2009/11/18 01:31:57, michaeln wrote:
> nit: one of the two only's could go

oops, done.

Powered by Google App Engine
This is Rietveld 408576698