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

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

Issue 11421079: Persist the Instant API to committed search result pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes Created 8 years 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_model.cc
diff --git a/chrome/browser/instant/instant_model.cc b/chrome/browser/instant/instant_model.cc
index bafad5af0648afb53e44c4f59291ae8d2ca27192..2a333bd7ca2f61d780ac8673bae2a4f5993b5779 100644
--- a/chrome/browser/instant/instant_model.cc
+++ b/chrome/browser/instant/instant_model.cc
@@ -38,7 +38,7 @@ void InstantModel::SetPreviewState(const chrome::search::Mode& mode,
PreviewStateChanged(*this));
}
-void InstantModel::SetPreviewContents(TabContents* preview_contents) {
+void InstantModel::SetPreviewContents(content::WebContents* preview_contents) {
if (preview_contents_ == preview_contents)
return;
@@ -48,7 +48,7 @@ void InstantModel::SetPreviewContents(TabContents* preview_contents) {
PreviewStateChanged(*this));
}
-TabContents* InstantModel::GetPreviewContents() const {
+content::WebContents* InstantModel::GetPreviewContents() const {
return controller_->GetPreviewContents();
}

Powered by Google App Engine
This is Rietveld 408576698