Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1010)

Unified Diff: chrome/browser/renderer_host/offline_resource_throttle.cc

Issue 9323071: Use InterstitialPage through a delegate interface instead of deriving from it. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/offline_resource_throttle.cc
===================================================================
--- chrome/browser/renderer_host/offline_resource_throttle.cc (revision 120806)
+++ chrome/browser/renderer_host/offline_resource_throttle.cc (working copy)
@@ -19,6 +19,7 @@
#include "content/browser/renderer_host/resource_dispatcher_host.h"
#include "content/browser/renderer_host/resource_dispatcher_host_request_info.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/browser/render_view_host_delegate.h"
#include "content/public/browser/resource_throttle_controller.h"
#include "net/base/net_errors.h"
#include "net/base/network_change_notifier.h"
@@ -50,7 +51,7 @@
// the offline page on the IO thread and before we actually show the
// offline page here on the UI thread.
if (web_contents)
- (new chromeos::OfflineLoadPage(web_contents, url, callback))->Show();
+ new chromeos::OfflineLoadPage(web_contents, url, callback);
}
}

Powered by Google App Engine
This is Rietveld 408576698