Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(753)

Unified Diff: webkit/database/database_tracker_unittest.cc

Issue 10066044: RefCounted types should not have public destructors, webkit/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementation ordering Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/database/database_quota_client_unittest.cc ('k') | webkit/database/databases_table_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/database/database_tracker_unittest.cc
diff --git a/webkit/database/database_tracker_unittest.cc b/webkit/database/database_tracker_unittest.cc
index 14d72a8a7ad3d27326a1fcd69aeb58ce05362553..eef4fe805d1397a902d8c416f8ca3b2482cb54ba 100644
--- a/webkit/database/database_tracker_unittest.cc
+++ b/webkit/database/database_tracker_unittest.cc
@@ -94,10 +94,6 @@ class TestQuotaManagerProxy : public quota::QuotaManagerProxy {
registered_client_(NULL) {
}
- virtual ~TestQuotaManagerProxy() {
- EXPECT_FALSE(registered_client_);
- }
-
virtual void RegisterClient(quota::QuotaClient* client) {
EXPECT_FALSE(registered_client_);
registered_client_ = client;
@@ -153,6 +149,11 @@ class TestQuotaManagerProxy : public quota::QuotaManagerProxy {
// Map from origin to <count, sum of deltas>
std::map<GURL, std::pair<int, int64> > modifications_;
+
+ protected:
+ virtual ~TestQuotaManagerProxy() {
+ EXPECT_FALSE(registered_client_);
+ }
};
« no previous file with comments | « webkit/database/database_quota_client_unittest.cc ('k') | webkit/database/databases_table_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698