diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-06 09:16:59 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-06 09:16:59 +0000 |
commit | 40cc9cef0bedab5d4b27110b24e43337a4e710f2 (patch) | |
tree | 42f698e234c94e7adc72cabb2e6f6d1aeb7a97d9 /gin | |
parent | 37c81f15d2a8d87a57473f8b4ea6c67aec05a5de (diff) | |
download | chromium_src-40cc9cef0bedab5d4b27110b24e43337a4e710f2.zip chromium_src-40cc9cef0bedab5d4b27110b24e43337a4e710f2.tar.gz chromium_src-40cc9cef0bedab5d4b27110b24e43337a4e710f2.tar.bz2 |
Remove usage of C++11 std::vector<> APIs from gin's ModuleRegistry
BUG=none
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/104713007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239155 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin')
-rw-r--r-- | gin/modules/module_registry.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gin/modules/module_registry.cc b/gin/modules/module_registry.cc index e9340db..160964f 100644 --- a/gin/modules/module_registry.cc +++ b/gin/modules/module_registry.cc @@ -202,7 +202,7 @@ void ModuleRegistry::Load(Isolate* isolate, scoped_ptr<PendingModule> pending) { if (ConvertFromV8(isolate, module, &factory)) { PerContextData* data = PerContextData::From(isolate->GetCurrentContext()); Runner* runner = data->runner(); - module = runner->Call(factory, runner->global(), argc, argv.data()); + module = runner->Call(factory, runner->global(), argc, &argv.front()); if (pending->id.empty()) ConvertFromV8(isolate, factory->GetScriptOrigin().ResourceName(), &pending->id); |