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

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: 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 58f585dc9fb105b12a78a9b21a8084b74ed3e464..a536c07d94ffd4b98fe9faf3c9cf044b4d1344fb 100644
--- a/chrome/test/base/ui_test_utils.cc
+++ b/chrome/test/base/ui_test_utils.cc
@@ -207,6 +207,9 @@ class InProcessJavaScriptExecutionController
}
private:
+ friend class base::RefCounted<InProcessJavaScriptExecutionController>;
+ virtual ~InProcessJavaScriptExecutionController() {}
+
// Weak pointer to the associated RenderViewHost.
RenderViewHost* render_view_host_;
};

Powered by Google App Engine
This is Rietveld 408576698