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

Unified Diff: chrome/browser/ui/search/instant_loader.cc

Issue 14161020: InstantExtended: Fixing a crash when the stale timer could fire after InstantController is deleted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/instant_loader.cc
diff --git a/chrome/browser/ui/search/instant_loader.cc b/chrome/browser/ui/search/instant_loader.cc
index 29f4b7401be3ed0cfe1803bb886c106c1e21c38c..10f3491adc220ac5e6e5ae53da2f9badfc9083c3 100644
--- a/chrome/browser/ui/search/instant_loader.cc
+++ b/chrome/browser/ui/search/instant_loader.cc
@@ -121,6 +121,7 @@ void InstantLoader::SetContents(scoped_ptr<content::WebContents> new_contents) {
}
scoped_ptr<content::WebContents> InstantLoader::ReleaseContents() {
+ stale_page_timer_.Stop();
contents_->SetDelegate(NULL);
// Undo tab helper work done in SetContents().
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698