Index: chrome/renderer/extensions/runtime_custom_bindings.cc |
diff --git a/chrome/renderer/extensions/runtime_custom_bindings.cc b/chrome/renderer/extensions/runtime_custom_bindings.cc |
index e2030d14a1ab12d30bda0373e2d7799dd68422f8..fd92526eb77f99d76d92c3425090a2366a41d10d 100644 |
--- a/chrome/renderer/extensions/runtime_custom_bindings.cc |
+++ b/chrome/renderer/extensions/runtime_custom_bindings.cc |
@@ -167,7 +167,7 @@ void RuntimeCustomBindings::GetExtensionViews( |
if (!context.IsEmpty()) { |
v8::Local<v8::Value> window = context->Global(); |
DCHECK(!window.IsEmpty()); |
- v8_views->Set(v8::Integer::New(v8_index++), window); |
+ v8_views->Set(v8::Integer::New(args.GetIsolate(), v8_index++), window); |
} |
} |