Index: chrome/browser/tab_contents/render_view_host_manager.h |
=================================================================== |
--- chrome/browser/tab_contents/render_view_host_manager.h (revision 67155) |
+++ chrome/browser/tab_contents/render_view_host_manager.h (working copy) |
@@ -7,7 +7,6 @@ |
#pragma once |
#include "base/basictypes.h" |
-#include "base/logging.h" |
#include "base/scoped_ptr.h" |
#include "chrome/browser/renderer_host/render_view_host_delegate.h" |
#include "chrome/common/notification_registrar.h" |
@@ -146,16 +145,10 @@ |
// |interstitial_page| should be non NULL (use the remove_interstitial_page |
// method to unset the interstitial) and no interstitial page should be set |
// when there is already a non NULL interstitial page set. |
- void set_interstitial_page(InterstitialPage* interstitial_page) { |
- DCHECK(!interstitial_page_ && interstitial_page); |
- interstitial_page_ = interstitial_page; |
- } |
+ void set_interstitial_page(InterstitialPage* interstitial_page); |
// Unsets the currently showing interstitial. |
- void remove_interstitial_page() { |
- DCHECK(interstitial_page_); |
- interstitial_page_ = NULL; |
- } |
+ void remove_interstitial_page(); |
// Returns the currently showing interstitial, NULL if no interstitial is |
// showing. |