summaryrefslogtreecommitdiffstats
path: root/webkit/database
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/database')
-rw-r--r--webkit/database/vfs_backend.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/database/vfs_backend.cc b/webkit/database/vfs_backend.cc
index 8c1b50b..8cb8e05 100644
--- a/webkit/database/vfs_backend.cc
+++ b/webkit/database/vfs_backend.cc
@@ -25,7 +25,7 @@ bool VfsBackend::FileTypeIsMainDB(int desired_flags) {
// static
bool VfsBackend::OpenTypeIsReadWrite(int desired_flags) {
- return desired_flags & SQLITE_OPEN_READWRITE;
+ return (desired_flags & SQLITE_OPEN_READWRITE) != 0;
}
// static