From e6e6ba4925feed48fbbd0568b07d8ccb6569eeee Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Sat, 7 Nov 2009 01:56:19 +0000 Subject: Ninth patch in making destructors of refcounted objects private. BUG=26749 Review URL: http://codereview.chromium.org/372013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31357 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/external_tab_container.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'chrome/browser/external_tab_container.h') diff --git a/chrome/browser/external_tab_container.h b/chrome/browser/external_tab_container.h index 879a147..738cd0c 100644 --- a/chrome/browser/external_tab_container.h +++ b/chrome/browser/external_tab_container.h @@ -39,7 +39,6 @@ class ExternalTabContainer : public TabContentsDelegate, ExternalTabContainer(AutomationProvider* automation, AutomationResourceMessageFilter* filter); - ~ExternalTabContainer(); TabContents* tab_contents() const { return tab_contents_; } @@ -167,6 +166,10 @@ class ExternalTabContainer : public TabContentsDelegate, void Navigate(const GURL& url, const GURL& referrer); private: + friend class base::RefCounted; + + ~ExternalTabContainer(); + // Helper function for processing keystokes coming back from the renderer // process. bool ProcessUnhandledKeyStroke(HWND window, UINT message, WPARAM wparam, -- cgit v1.1