Index: sql/connection.cc |
diff --git a/sql/connection.cc b/sql/connection.cc |
index dd71563292a9c4689db517163e38d5731370f95b..510d6a771b4b7598e4f83f6cba68ded7520b3cb0 100644 |
--- a/sql/connection.cc |
+++ b/sql/connection.cc |
@@ -74,9 +74,6 @@ bool StatementID::operator<(const StatementID& other) const { |
return strcmp(str_, other.str_) < 0; |
} |
-ErrorDelegate::~ErrorDelegate() { |
-} |
- |
Connection::StatementRef::StatementRef(Connection* connection, |
sqlite3_stmt* stmt, |
bool was_valid) |
@@ -122,7 +119,8 @@ Connection::Connection() |
transaction_nesting_(0), |
needs_rollback_(false), |
in_memory_(false), |
- poisoned_(false) {} |
+ poisoned_(false) { |
+} |
Connection::~Connection() { |
Close(); |
@@ -762,11 +760,6 @@ int Connection::OnSqliteError(int err, sql::Statement *stmt) { |
return err; |
} |
- // TODO(shess): Remove |error_delegate_| once everything is |
- // converted to |error_callback_|. |
- if (error_delegate_.get()) |
- return error_delegate_->OnError(err, this, stmt); |
- |
// The default handling is to assert on debug and to ignore on release. |
DLOG(FATAL) << GetErrorMessage(); |
return err; |