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

Unified Diff: chrome/test/base/ui_test_utils.cc

Issue 10065040: RefCounted types should not have public destructors, chrome/ remaining parts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementation fixes 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
Index: chrome/test/base/ui_test_utils.cc
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc
index b00e4430c1c3f7deeae664536d4c307fdffed923..eede45053b18531aafb87e316bab4a448c500e86 100644
--- a/chrome/test/base/ui_test_utils.cc
+++ b/chrome/test/base/ui_test_utils.cc
@@ -209,6 +209,9 @@ class InProcessJavaScriptExecutionController
}
private:
+ friend class base::RefCounted<InProcessJavaScriptExecutionController>;
+ virtual ~InProcessJavaScriptExecutionController() {}
+
// Weak pointer to the associated RenderViewHost.
RenderViewHost* render_view_host_;
};
« chrome/common/json_pref_store.cc ('K') | « chrome/test/base/thread_observer_helper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698