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

Unified Diff: content/ppapi_plugin/broker_process_dispatcher.cc

Issue 927363005: Work on GN Win64 build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: underscore 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
« no previous file with comments | « content/common/BUILD.gn ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
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);
}
« no previous file with comments | « content/common/BUILD.gn ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698