Chromium Code Reviews| Index: Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp |
| diff --git a/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp b/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp |
| index 7e68cec02f23f4089edd95a4562b1f4ba5efc856..08826a18b2b67a5d420d01d0d2f65d42f0684f97 100644 |
| --- a/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp |
| +++ b/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp |
| @@ -33,6 +33,7 @@ template<class CallbackInfo> |
| static void TestInterfaceNamedConstructorForceSetAttributeOnThis(v8::Local<v8::Name> name, v8::Local<v8::Value> v8Value, const CallbackInfo& info) |
| { |
| ASSERT(info.This()->IsObject()); |
| + // TODO(bashi): Consider using CreateDataProperty() instead of ForceSet(). |
| v8::Local<v8::Object>::Cast(info.This())->ForceSet(info.GetIsolate()->GetCurrentContext(), name, v8Value); |
|
jochen (gone - plz use gerrit)
2015/06/02 16:14:48
why can't this use CreateDataProperty already now?
bashi
2015/06/03 00:16:37
Done.
|
| } |