Index: chrome/browser/tab_contents/chrome_interstitial_page.cc |
diff --git a/chrome/browser/tab_contents/chrome_interstitial_page.cc b/chrome/browser/tab_contents/chrome_interstitial_page.cc |
index ce07ed9ba6ac1497060b8e45cfcf0eeb0ce66a78..9c9940c01beebcd40bfc79dad354a029f026b1d5 100644 |
--- a/chrome/browser/tab_contents/chrome_interstitial_page.cc |
+++ b/chrome/browser/tab_contents/chrome_interstitial_page.cc |
@@ -8,6 +8,8 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/renderer_preferences_util.h" |
#include "chrome/common/chrome_notification_types.h" |
+#include "chrome/common/render_messages.h" |
+#include "content/browser/renderer_host/render_view_host.h" |
#include "content/browser/tab_contents/tab_contents.h" |
#include "content/public/browser/notification_details.h" |
#include "content/public/browser/notification_source.h" |
@@ -31,6 +33,8 @@ void ChromeInterstitialPage::Show() { |
notification_registrar_.Add( |
this, chrome::NOTIFICATION_DOM_OPERATION_RESPONSE, |
content::Source<RenderViewHost>(render_view_host())); |
+ render_view_host()->Send( |
+ new ChromeViewMsg_SetAsInterstitial(render_view_host()->routing_id())); |
} |
void ChromeInterstitialPage::Observe( |