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

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

Issue 8373010: Fixing visibility transitions for Instant. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Minor style fix. Created 9 years, 2 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_loader.cc
diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc
index cfe62bb36c1890a5ff9a5808a6026d890c508b5c..143ceff21f25343eb50f71daaea72dcddbafdbb3 100644
--- a/chrome/browser/instant/instant_loader.cc
+++ b/chrome/browser/instant/instant_loader.cc
@@ -1076,6 +1076,7 @@ void InstantLoader::LoadInstantURL(TabContentsWrapper* tab_contents,
preview_contents_->controller().LoadURL(instant_url, GURL(), transition_type,
std::string());
RenderViewHost* host = preview_contents_->render_view_host();
+ preview_contents_->tab_contents()->HideContents();
// If user_text is empty, this must be a preload of the search homepage. In
// that case, send down a SearchBoxResize message, which will switch the page

Powered by Google App Engine
This is Rietveld 408576698