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

Unified Diff: gin/modules/module_registry.cc

Issue 75623002: Fix win64 build error (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/modules/module_registry.cc
===================================================================
--- gin/modules/module_registry.cc (revision 235766)
+++ gin/modules/module_registry.cc (working copy)
@@ -181,9 +181,9 @@
return; // We've already loaded this module.
Handle<Object> modules = Local<Object>::New(isolate, modules_);
- size_t argc = pending->dependencies.size();
+ uint32_t argc = static_cast<uint32_t>(pending->dependencies.size());
std::vector<Handle<Value> > argv(argc);
- for (size_t i = 0; i < argc; ++i) {
+ for (uint32_t i = 0; i < argc; ++i) {
Handle<String> key = StringToSymbol(isolate, pending->dependencies[i]);
DCHECK(modules->HasOwnProperty(key));
argv[i] = modules->Get(key);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698