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

Unified Diff: chrome/browser/history/top_sites_unittest.cc

Issue 3806005: FBTF: More ctor/dtor cleanup. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 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
« no previous file with comments | « chrome/browser/history/top_sites.cc ('k') | chrome/browser/io_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/top_sites_unittest.cc
diff --git a/chrome/browser/history/top_sites_unittest.cc b/chrome/browser/history/top_sites_unittest.cc
index 77a346580be5414ef6ae054d3244a779f66ceb85..160b275225c4a175f54318987cb7db47ef5e36c3 100644
--- a/chrome/browser/history/top_sites_unittest.cc
+++ b/chrome/browser/history/top_sites_unittest.cc
@@ -418,11 +418,11 @@ TEST_F(TopSitesTest, SetPageThumbnail) {
TEST_F(TopSitesTest, GetPageThumbnail) {
BrowserThread db_loop(BrowserThread::DB, MessageLoop::current());
MostVisitedURLList url_list;
- MostVisitedURL url1 = {GURL("http://asdf.com")};
+ MostVisitedURL url1(GURL("http://asdf.com"), GURL(), string16());
url1.redirects.push_back(url1.url);
url_list.push_back(url1);
- MostVisitedURL url2 = {GURL("http://gmail.com")};
+ MostVisitedURL url2(GURL("http://gmail.com"), GURL(), string16());
url2.redirects.push_back(url2.url);
url2.redirects.push_back(GURL("http://mail.google.com"));
url_list.push_back(url2);
@@ -1326,7 +1326,7 @@ TEST_F(TopSitesTest, AddPrepopulatedPages) {
pages.clear();
- MostVisitedURL url = {themes_url()};
+ MostVisitedURL url(themes_url(), GURL(), string16());
pages.push_back(url);
top_sites().AddPrepopulatedPages(&pages);
« no previous file with comments | « chrome/browser/history/top_sites.cc ('k') | chrome/browser/io_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698