Index: Source/bindings/core/v8/V8DOMConfiguration.cpp |
diff --git a/Source/bindings/core/v8/V8DOMConfiguration.cpp b/Source/bindings/core/v8/V8DOMConfiguration.cpp |
index a0f48b9081a91b782db36743e442da7bda774b5e..f9d250636fb24588708bacdcb865f396be46e8ea 100644 |
--- a/Source/bindings/core/v8/V8DOMConfiguration.cpp |
+++ b/Source/bindings/core/v8/V8DOMConfiguration.cpp |
@@ -76,10 +76,13 @@ void V8DOMConfiguration::installConstants(v8::Handle<v8::FunctionTemplate> funct |
case ConstantTypeShort: |
case ConstantTypeLong: |
case ConstantTypeUnsignedShort: |
- case ConstantTypeUnsignedLong: |
functionDescriptor->Set(constantName, v8::Integer::New(isolate, constant->ivalue), static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete)); |
prototype->Set(constantName, v8::Integer::New(isolate, constant->ivalue), static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete)); |
break; |
+ case ConstantTypeUnsignedLong: |
+ functionDescriptor->Set(constantName, v8::Integer::NewFromUnsigned(isolate, constant->ivalue), static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete)); |
+ prototype->Set(constantName, v8::Integer::NewFromUnsigned(isolate, constant->ivalue), static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete)); |
+ break; |
case ConstantTypeFloat: |
case ConstantTypeDouble: |
functionDescriptor->Set(constantName, v8::Number::New(isolate, constant->dvalue), static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete)); |