diff options
author | cjhopman <cjhopman@chromium.org> | 2014-11-19 16:30:06 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-20 00:30:34 +0000 |
commit | 1aad174b259bc655e7b9e973fadfc79bc5c00e51 (patch) | |
tree | 0f5d45b5f7e5f75adf1a4a89bdcde683566c31a9 /blink/tools/run_layout_tests.py | |
parent | 14bcfc52eb12a1b08cca13198ba2b25a7156f2ce (diff) | |
download | chromium_src-1aad174b259bc655e7b9e973fadfc79bc5c00e51.zip chromium_src-1aad174b259bc655e7b9e973fadfc79bc5c00e51.tar.gz chromium_src-1aad174b259bc655e7b9e973fadfc79bc5c00e51.tar.bz2 |
Make ProtoDatabase properly handle failed Init
When Init fails, further Save/Load calls should just fail (and not
crash). This makes the underlying LevelDB properly handle the Init failed case
and adds tests for that.
Adds LevelDB::InitWithOptions to make it easy to have the Init fail in tests.
Review URL: https://codereview.chromium.org/735823004
Cr-Commit-Position: refs/heads/master@{#304944}
Diffstat (limited to 'blink/tools/run_layout_tests.py')
0 files changed, 0 insertions, 0 deletions