summaryrefslogtreecommitdiffstats
path: root/webkit/database/quota_table_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/database/quota_table_unittest.cc')
-rw-r--r--webkit/database/quota_table_unittest.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/webkit/database/quota_table_unittest.cc b/webkit/database/quota_table_unittest.cc
index 492c7b9..be25898 100644
--- a/webkit/database/quota_table_unittest.cc
+++ b/webkit/database/quota_table_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -13,11 +13,14 @@ namespace {
class TestErrorDelegate : public sql::ErrorDelegate {
public:
- virtual ~TestErrorDelegate() { }
- virtual int OnError(
- int error, sql::Connection* connection, sql::Statement* stmt) {
+ virtual int OnError(int error,
+ sql::Connection* connection,
+ sql::Statement* stmt) OVERRIDE {
return error;
}
+
+ protected:
+ virtual ~TestErrorDelegate() {}
};
} // namespace