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

Unified Diff: content/ppapi_plugin/broker_process_dispatcher.cc

Issue 929793006: Update existing uses of /wd4267 to use the GN config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x64
Patch Set: Created 5 years, 10 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
Index: content/ppapi_plugin/broker_process_dispatcher.cc
diff --git a/content/ppapi_plugin/broker_process_dispatcher.cc b/content/ppapi_plugin/broker_process_dispatcher.cc
index 35d5b9d48e639ea0cfd5a6e6143115e8ca96c440..97d425043c88248b4ff1a29f549117d5a76cbbd1 100644
--- a/content/ppapi_plugin/broker_process_dispatcher.cc
+++ b/content/ppapi_plugin/broker_process_dispatcher.cc
@@ -309,14 +309,16 @@ bool BrokerProcessDispatcher::SetSitePermission(
if (flash_browser_operations_1_3_) {
PP_Bool result = flash_browser_operations_1_3_->SetSitePermission(
- data_str.c_str(), setting_type, sites.size(), site_array.get());
+ data_str.c_str(), setting_type,
+ static_cast<uint32_t>(sites.size()), site_array.get());
Dirk Pranke 2015/02/18 21:29:29 same comment re: non-size_t-related-things.
return PP_ToBool(result);
}
if (flash_browser_operations_1_2_) {
PP_Bool result = flash_browser_operations_1_2_->SetSitePermission(
- data_str.c_str(), setting_type, sites.size(), site_array.get());
+ data_str.c_str(), setting_type,
+ static_cast<uint32_t>(sites.size()), site_array.get());
return PP_ToBool(result);
}

Powered by Google App Engine
This is Rietveld 408576698