Commit 67b02153 authored by Victor Costan's avatar Victor Costan Committed by Commit Bot

websql: Remove unused member sharable_.

Change-Id: I485e771fa8e7911565a9cd99209145b1cf26450c
Reviewed-on: https://chromium-review.googlesource.com/c/1343572Reviewed-by: default avatarJoshua Bell <jsbell@chromium.org>
Commit-Queue: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#609755}
parent c6d3a866
......@@ -47,9 +47,6 @@ SQLiteDatabase::SQLiteDatabase()
: db_(nullptr),
page_size_(-1),
transaction_in_progress_(false),
#if DCHECK_IS_ON()
sharable_(false),
#endif
opening_thread_(0),
open_error_(SQLITE_ERROR),
open_error_message_(),
......
......@@ -35,10 +35,6 @@
#include "third_party/blink/renderer/platform/wtf/threading.h"
#include "third_party/blink/renderer/platform/wtf/threading_primitives.h"
#if defined(COMPILER_MSVC)
#pragma warning(disable : 4800)
#endif
struct sqlite3;
namespace blink {
......@@ -97,7 +93,7 @@ class SQLiteDatabase {
sqlite3* Sqlite3Handle() const {
#if DCHECK_IS_ON()
DCHECK_EQ(sharable_ || CurrentThread(), opening_thread_ || !db_);
DCHECK_EQ(!!CurrentThread(), opening_thread_ || !db_);
#endif
return db_;
}
......@@ -140,9 +136,6 @@ class SQLiteDatabase {
int page_size_;
bool transaction_in_progress_;
#if DCHECK_IS_ON()
bool sharable_;
#endif
Mutex authorizer_lock_;
CrossThreadPersistent<DatabaseAuthorizer> authorizer_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment