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

Unified Diff: components/physical_web/webui/physical_web_base_message_handler.cc

Issue 2603043002: Add a Physical Web WebUI for Android (Closed)
Patch Set: static_cast Created 3 years, 11 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/common/url_constants.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/physical_web/webui/physical_web_base_message_handler.cc
diff --git a/components/physical_web/webui/physical_web_base_message_handler.cc b/components/physical_web/webui/physical_web_base_message_handler.cc
index b6706c9bd374c18fe4ac86d3f0c29982279977c2..a619666111bf3d56cbd169d3ac93897963a99e02 100644
--- a/components/physical_web/webui/physical_web_base_message_handler.cc
+++ b/components/physical_web/webui/physical_web_base_message_handler.cc
@@ -40,7 +40,7 @@ void PhysicalWebBaseMessageHandler::HandleRequestNearbyURLs(
for (size_t i = 0; i < metadata->GetSize(); i++) {
base::DictionaryValue* metadata_item = nullptr;
metadata->GetDictionary(i, &metadata_item);
- metadata_item->SetInteger(physical_web_ui::kIndex, i);
+ metadata_item->SetInteger(physical_web_ui::kIndex, static_cast<int>(i));
}
results.Set(physical_web_ui::kMetadata, metadata.release());
« no previous file with comments | « chrome/common/url_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698