summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/jsmessage_box_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/jsmessage_box_dialog.h')
-rw-r--r--chrome/browser/views/jsmessage_box_dialog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/views/jsmessage_box_dialog.h b/chrome/browser/views/jsmessage_box_dialog.h
index f709a50..92a2635 100644
--- a/chrome/browser/views/jsmessage_box_dialog.h
+++ b/chrome/browser/views/jsmessage_box_dialog.h
@@ -11,7 +11,7 @@
#include "views/window/dialog_delegate.h"
class MessageBoxView;
-class TabContents;
+class JavaScriptMessageBoxClient;
namespace views {
class Window;
}
@@ -47,8 +47,8 @@ class JavascriptMessageBoxDialog : public views::DialogDelegate {
virtual void OnClose();
private:
- TabContents* tab_contents() {
- return parent_->tab_contents();
+ JavaScriptMessageBoxClient* client() {
+ return parent_->client();
}
// A pointer to the AppModalDialog that owns us.