Index: content/browser/tab_contents/tab_contents.h |
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h |
index 3f416e4ac8723dc76ba93ced2dff7ce573a3ee84..846fc93ba358996294014b3ad54b6c0c2f777411 100644 |
--- a/content/browser/tab_contents/tab_contents.h |
+++ b/content/browser/tab_contents/tab_contents.h |
@@ -823,6 +823,10 @@ class TabContents : public PageNavigator, |
// once. |
bool notify_disconnection_; |
+ // Pointer to the JavaScript dialog creator, lazily assigned. Used because the |
+ // delegate of this TabContents is nulled before its destructor is called. |
+ content::JavaScriptDialogCreator* dialog_creator_; |
+ |
#if defined(OS_WIN) |
// Handle to an event that's set when the page is showing a message box (or |
// equivalent constrained window). Plugin processes check this to know if |