| Index: chrome/browser/android/most_visited_sites_unittest.cc
|
| diff --git a/chrome/browser/android/most_visited_sites_unittest.cc b/chrome/browser/android/most_visited_sites_unittest.cc
|
| index 740e687d39e79f87162bc1da77d1c0e2dd9a0dac..af40299a95b13b63597102a07d78a94f3e90a32f 100644
|
| --- a/chrome/browser/android/most_visited_sites_unittest.cc
|
| +++ b/chrome/browser/android/most_visited_sites_unittest.cc
|
| @@ -81,11 +81,14 @@ class MostVisitedSitesTest : public testing::Test {
|
| const TitleURL& title_url,
|
| bool is_personal,
|
| bool whitelist) {
|
| - return make_scoped_ptr(new MostVisitedSites::Suggestion(
|
| - title_url.title, title_url.url,
|
| - whitelist ? MostVisitedSites::WHITELIST
|
| - : (is_personal ? MostVisitedSites::TOP_SITES
|
| - : MostVisitedSites::POPULAR)));
|
| + scoped_ptr<MostVisitedSites::Suggestion> suggestion =
|
| + make_scoped_ptr(new MostVisitedSites::Suggestion());
|
| + suggestion->title = title_url.title;
|
| + suggestion->url = GURL(title_url.url);
|
| + suggestion->source = whitelist ? MostVisitedSites::WHITELIST
|
| + : (is_personal ? MostVisitedSites::TOP_SITES
|
| + : MostVisitedSites::POPULAR);
|
| + return suggestion;
|
| }
|
| };
|
|
|
|
|