| Index: third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
|
| index 6286d7846a7ffd57abed8ac72485fecccc37e519..1c99e565a0b888ca98cf127feab3cfb59a3e6be8 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
|
| @@ -292,7 +292,7 @@ v8::Local<v8::FunctionTemplate> V8PerIsolateData::findOrCreateOperationTemplate(
|
| v8::Local<v8::FunctionTemplate> templ =
|
| v8::FunctionTemplate::New(isolate(), callback, data, signature, length);
|
| templ->RemovePrototype();
|
| - map.add(key, v8::Eternal<v8::FunctionTemplate>(isolate(), templ));
|
| + map.insert(key, v8::Eternal<v8::FunctionTemplate>(isolate(), templ));
|
| return templ;
|
| }
|
|
|
| @@ -311,7 +311,7 @@ void V8PerIsolateData::setInterfaceTemplate(
|
| const void* key,
|
| v8::Local<v8::FunctionTemplate> value) {
|
| auto& map = selectInterfaceTemplateMap(world);
|
| - map.add(key, v8::Eternal<v8::FunctionTemplate>(isolate(), value));
|
| + map.insert(key, v8::Eternal<v8::FunctionTemplate>(isolate(), value));
|
| }
|
|
|
| v8::Local<v8::Context> V8PerIsolateData::ensureScriptRegexpContext() {
|
|
|