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

Unified Diff: chrome/browser/instant/instant_unload_handler.cc

Issue 12386019: Instant: Use only one hidden WebContents per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/instant/instant_unload_handler.cc
diff --git a/chrome/browser/instant/instant_unload_handler.cc b/chrome/browser/instant/instant_unload_handler.cc
index fa64ed1e13894fd15485de712c4eb5a3e1e61397..6ee81c3b6d10c2406ad18f9f1cc81e6a4333418b 100644
--- a/chrome/browser/instant/instant_unload_handler.cc
+++ b/chrome/browser/instant/instant_unload_handler.cc
@@ -39,10 +39,6 @@ class InstantUnloadHandler::WebContentsDelegateImpl
handler_->Activate(this, contents_.Pass(), index_);
}
- virtual bool ShouldSuppressDialogs() OVERRIDE {
- return true;
- }
-
private:
InstantUnloadHandler* const handler_;
scoped_ptr<content::WebContents> contents_;

Powered by Google App Engine
This is Rietveld 408576698