Index: Source/bindings/core/v8/PrivateScriptRunner.js |
diff --git a/Source/bindings/core/v8/PrivateScriptRunner.js b/Source/bindings/core/v8/PrivateScriptRunner.js |
index 6cc398f65f59e18dcdec7e5b46b60848c7086739..455b2b44c1ec2b8cc341e255d5539b56ce53d2b2 100644 |
--- a/Source/bindings/core/v8/PrivateScriptRunner.js |
+++ b/Source/bindings/core/v8/PrivateScriptRunner.js |
@@ -7,7 +7,7 @@ |
var installedClasses = {}; |
function installClass(className, implementation) { |
- installedClasses[className] = implementation(); |
+ installedClasses[className] = implementation(window); |
} |
// A parenthesis is needed, because the caller of this script (PrivateScriptRunner.cpp) |