Index: sql/connection.cc |
diff --git a/sql/connection.cc b/sql/connection.cc |
index 4eb060b879a9fb1683ae77f1a865b600315245a8..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,8 +119,7 @@ Connection::Connection() |
transaction_nesting_(0), |
needs_rollback_(false), |
in_memory_(false), |
- poisoned_(false), |
- error_delegate_(NULL) { |
+ poisoned_(false) { |
} |
Connection::~Connection() { |
@@ -764,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; |