Skip to content

Commit

Permalink
Fix win64 build error
Browse files Browse the repository at this point in the history
R=abarth@chromium.org
TBR=abarth@chromium.org

Review URL: https://codereview.chromium.org/75623002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235855 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
jschuh@chromium.org committed Nov 19, 2013
1 parent 57820b7 commit 173b893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gin/modules/module_registry.cc
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ void ModuleRegistry::Load(Isolate* isolate, scoped_ptr<PendingModule> pending) {
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);
Expand Down

0 comments on commit 173b893

Please sign in to comment.