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

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

Issue 6523002: Fixes crash in instant. The crash would occur if a malware was showing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: Created 9 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
« 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/instant/instant_loader.cc
diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc
index 7e2b6f05fd490f0f0e5e433b794eccbf920786c9..67c1501edbf39fd1c8a36f47e816f94279ed4b72 100644
--- a/chrome/browser/instant/instant_loader.cc
+++ b/chrome/browser/instant/instant_loader.cc
@@ -619,7 +619,7 @@ TabContentsWrapper* InstantLoader::ReleasePreviewContents(
Source<NavigationController>(&preview_contents_->controller()));
#endif
}
- preview_contents_->set_delegate(NULL);
+ preview_contents_->tab_contents()->set_delegate(NULL);
preview_tab_contents_delegate_->Reset();
ready_ = false;
}
« 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