summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_tab_container.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/external_tab_container.h')
-rw-r--r--chrome/browser/external_tab_container.h5
1 files changed, 4 insertions, 1 deletions
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>;
+
+ ~ExternalTabContainer();
+
// Helper function for processing keystokes coming back from the renderer
// process.
bool ProcessUnhandledKeyStroke(HWND window, UINT message, WPARAM wparam,