Index: Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp b/Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp |
index 510bdb98101404a04085f788f6fb27130b24f2da..3baa1ead24475398ff4079c5b2c48aca01ae897e 100644 |
--- a/Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp |
+++ b/Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp |
@@ -134,7 +134,7 @@ static v8::Handle<v8::Value> toV8Object(const WebGLGetInfo& info, v8::Handle<v8: |
return array; |
} |
case WebGLGetInfo::kTypeFloat: |
- return v8::Number::New(info.getFloat()); |
+ return v8::Number::New(isolate, info.getFloat()); |
case WebGLGetInfo::kTypeInt: |
return v8::Integer::New(info.getInt(), isolate); |
case WebGLGetInfo::kTypeNull: |