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

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

Issue 1053663003: Cleanup: Remove unused variables in chrome/ found by Scythe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « chrome/browser/ui/search/instant_page.h ('k') | chrome/browser/ui/search/instant_page_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/instant_page.cc
diff --git a/chrome/browser/ui/search/instant_page.cc b/chrome/browser/ui/search/instant_page.cc
index 3b412ac36ea9ca44f8b1dd242b50317f512be0c7..53fc718bfb77f1ae0edfa05aa2e5e66fa263c19b 100644
--- a/chrome/browser/ui/search/instant_page.cc
+++ b/chrome/browser/ui/search/instant_page.cc
@@ -43,12 +43,12 @@ bool InstantPage::IsLocal() const {
web_contents()->GetURL() == GURL(chrome::kChromeSearchLocalNtpUrl);
}
-InstantPage::InstantPage(Delegate* delegate, const std::string& instant_url,
- Profile* profile, bool is_incognito)
+InstantPage::InstantPage(Delegate* delegate,
+ const std::string& instant_url,
+ Profile* profile)
: profile_(profile),
delegate_(delegate),
- instant_url_(instant_url),
- is_incognito_(is_incognito) {
+ instant_url_(instant_url) {
}
void InstantPage::SetContents(content::WebContents* new_web_contents) {
« no previous file with comments | « chrome/browser/ui/search/instant_page.h ('k') | chrome/browser/ui/search/instant_page_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698