summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/tab_contents/tab_contents.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/tab_contents/tab_contents.h')
-rw-r--r--chrome/browser/ui/tab_contents/tab_contents.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/ui/tab_contents/tab_contents.h b/chrome/browser/ui/tab_contents/tab_contents.h
index 8ba2856..f3fd3ae 100644
--- a/chrome/browser/ui/tab_contents/tab_contents.h
+++ b/chrome/browser/ui/tab_contents/tab_contents.h
@@ -116,10 +116,12 @@ class TabContents : public content::WebContentsObserver {
// If true, we're running the destructor.
bool in_destructor_;
+ content::WebContents* web_contents_;
+ Profile* profile_;
// The supporting objects need to outlive the WebContents dtor (as they may
// be called upon during its execution). As a result, this must come last
// in the list.
- scoped_ptr<content::WebContents> web_contents_;
+ scoped_ptr<content::WebContents> owned_web_contents_;
DISALLOW_COPY_AND_ASSIGN(TabContents);
};