summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 23:37:05 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 23:37:05 +0000
commit422c0f17466cddf30fd6815f9d3519a3815264c6 (patch)
tree416182cac3cc9968888273a8e68e58e51b45358c /chrome/test
parentbfe5c69fc8cd05558fa5571ff8699a5b0edf0a64 (diff)
downloadchromium_src-422c0f17466cddf30fd6815f9d3519a3815264c6.zip
chromium_src-422c0f17466cddf30fd6815f9d3519a3815264c6.tar.gz
chromium_src-422c0f17466cddf30fd6815f9d3519a3815264c6.tar.bz2
Fourth patch in making destructors of refcounted objects private.
BUG=26749 Review URL: http://codereview.chromium.org/360043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31167 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/automation/automation_handle_tracker.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/test/automation/automation_handle_tracker.h b/chrome/test/automation/automation_handle_tracker.h
index 98a9fb9..12a5920 100644
--- a/chrome/test/automation/automation_handle_tracker.h
+++ b/chrome/test/automation/automation_handle_tracker.h
@@ -27,7 +27,6 @@ class AutomationResourceProxy
AutomationResourceProxy(AutomationHandleTracker* tracker,
AutomationMessageSender* sender,
AutomationHandle handle);
- virtual ~AutomationResourceProxy();
// Marks this proxy object as no longer valid; this generally means
// that the corresponding resource on the app side is gone.
@@ -39,6 +38,9 @@ class AutomationResourceProxy
protected:
friend class AutomationHandleTracker;
+ friend class base::RefCountedThreadSafe<AutomationResourceProxy>;
+
+ virtual ~AutomationResourceProxy();
AutomationHandle handle_;