| Index: Source/bindings/v8/IDBBindingUtilities.cpp
|
| diff --git a/Source/bindings/v8/IDBBindingUtilities.cpp b/Source/bindings/v8/IDBBindingUtilities.cpp
|
| index 93b2217b0c09f861a41e6786842ec6c1df47c1bd..a727a96cf6d07254420cd227d5835ade4d33d0b6 100644
|
| --- a/Source/bindings/v8/IDBBindingUtilities.cpp
|
| +++ b/Source/bindings/v8/IDBBindingUtilities.cpp
|
| @@ -54,7 +54,7 @@ static v8::Handle<v8::Value> idbKeyToV8Value(IDBKey* key, v8::Isolate* isolate)
|
| ASSERT_NOT_REACHED();
|
| return v8Undefined();
|
| case IDBKey::NumberType:
|
| - return v8::Number::New(key->number());
|
| + return v8::Number::New(isolate, key->number());
|
| case IDBKey::StringType:
|
| return v8String(key->string(), isolate);
|
| case IDBKey::DateType:
|
| @@ -138,7 +138,7 @@ static bool get(v8::Handle<v8::Value>& object, const String& keyPathElement, v8:
|
| {
|
| if (object->IsString() && keyPathElement == "length") {
|
| int32_t length = v8::Handle<v8::String>::Cast(object)->Length();
|
| - result = v8::Number::New(length);
|
| + result = v8::Number::New(isolate, length);
|
| return true;
|
| }
|
| return object->IsObject() && getValueFrom(v8String(keyPathElement, isolate), result);
|
|
|