summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/new_tab_ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/dom_ui/new_tab_ui.h')
-rw-r--r--chrome/browser/dom_ui/new_tab_ui.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.h b/chrome/browser/dom_ui/new_tab_ui.h
index d612dd9..6d73f85 100644
--- a/chrome/browser/dom_ui/new_tab_ui.h
+++ b/chrome/browser/dom_ui/new_tab_ui.h
@@ -73,8 +73,9 @@ class NewTabUI : public DOMUI,
// Whether this is the first run.
static bool first_run_;
- // Pointer back to the original profile.
- Profile* profile_;
+ // We grab the HTML eagerly so we don't have to go back to the UI thread
+ // later.
+ scoped_refptr<RefCountedBytes> html_bytes_;
DISALLOW_COPY_AND_ASSIGN(NewTabHTMLSource);
};