| Index: third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
|
| index 782e5bbab014739c75726871ec7dc193b38f4843..09d7b4eeb3ea2d48c9c5e510ecbe1cb730bb1ba8 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
|
| @@ -10,6 +10,7 @@
|
| #include "platform/v8_inspector/V8InspectorImpl.h"
|
| #include "platform/v8_inspector/V8InternalValueType.h"
|
| #include "platform/v8_inspector/V8StringUtil.h"
|
| +#include "platform/v8_inspector/V8ValueCopier.h"
|
| #include "platform/v8_inspector/public/V8InspectorClient.h"
|
|
|
| namespace v8_inspector {
|
| @@ -23,8 +24,7 @@ void setFunctionProperty(v8::Local<v8::Context> context, v8::Local<v8::Object> o
|
| if (!V8_FUNCTION_NEW_REMOVE_PROTOTYPE(context, callback, external, 0).ToLocal(&func))
|
| return;
|
| func->SetName(funcName);
|
| - if (!obj->Set(context, funcName, func).FromMaybe(false))
|
| - return;
|
| + safeCreateDataProperty(context, obj, funcName, func);
|
| }
|
|
|
| V8InspectorImpl* unwrapInspector(const v8::FunctionCallbackInfo<v8::Value>& info)
|
|
|