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

Unified Diff: ios/chrome/browser/ui/webui/history/browsing_history_handler.cc

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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: ios/chrome/browser/ui/webui/history/browsing_history_handler.cc
diff --git a/ios/chrome/browser/ui/webui/history/browsing_history_handler.cc b/ios/chrome/browser/ui/webui/history/browsing_history_handler.cc
index dbf8d2b6a4873106001dae80742d0f84a03fcd79..41fee7074d504e5e9293822cb578999466de5c1a 100644
--- a/ios/chrome/browser/ui/webui/history/browsing_history_handler.cc
+++ b/ios/chrome/browser/ui/webui/history/browsing_history_handler.cc
@@ -624,8 +624,8 @@ void BrowsingHistoryHandler::ReturnResultsToFrontEnd() {
web_ui()->CallJavascriptFunction("historyResult", results_info_value_,
results_value);
web_ui()->CallJavascriptFunction(
- "showNotification", base::FundamentalValue(has_synced_results_),
- base::FundamentalValue(has_other_forms_of_browsing_history_));
+ "showNotification", base::Value(has_synced_results_),
+ base::Value(has_other_forms_of_browsing_history_));
results_info_value_.Clear();
query_results_.clear();
web_history_query_results_.clear();
@@ -759,8 +759,8 @@ void BrowsingHistoryHandler::OtherFormsOfBrowsingHistoryQueryComplete(
RecordMetricsForNoticeAboutOtherFormsOfBrowsingHistory(
has_other_forms_of_browsing_history_);
web_ui()->CallJavascriptFunction(
- "showNotification", base::FundamentalValue(has_synced_results_),
- base::FundamentalValue(has_other_forms_of_browsing_history_));
+ "showNotification", base::Value(has_synced_results_),
+ base::Value(has_other_forms_of_browsing_history_));
}
void BrowsingHistoryHandler::RemoveComplete() {

Powered by Google App Engine
This is Rietveld 408576698