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

Unified Diff: components/ntp_tiles/webui/popular_sites_internals_message_handler.cc

Issue 2570783003: [Popular Sites] Split PopularSites interface and PopularSitesImpl (Closed)
Patch Set: Rebased and minor naming change. Created 4 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: components/ntp_tiles/webui/popular_sites_internals_message_handler.cc
diff --git a/components/ntp_tiles/webui/popular_sites_internals_message_handler.cc b/components/ntp_tiles/webui/popular_sites_internals_message_handler.cc
index 50f2252944bbe954f59f3c8adda4eaeb2e674a61..ce021454ae6b71da9caef6c804176ce20e24c45f 100644
--- a/components/ntp_tiles/webui/popular_sites_internals_message_handler.cc
+++ b/components/ntp_tiles/webui/popular_sites_internals_message_handler.cc
@@ -152,7 +152,7 @@ void PopularSitesInternalsMessageHandler::SendSites() {
base::DictionaryValue result;
result.Set("sites", std::move(sites_list));
- result.SetString("url", popular_sites_->LastURL().spec());
+ result.SetString("url", popular_sites_->GetLastURLFetched().spec());
web_ui_->CallJavascriptFunction("chrome.popular_sites_internals.receiveSites",
result);
}

Powered by Google App Engine
This is Rietveld 408576698