Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 53f55d3aacc0feed8114a466b6d00a46686e6800..d56967788148f2e9a912b25608ab80a6b71e3f54 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -202,7 +202,7 @@ class Factory V8_FINAL { |
// Create a 'with' context. |
Handle<Context> NewWithContext(Handle<JSFunction> function, |
Handle<Context> previous, |
- Handle<JSObject> extension); |
+ Handle<JSReceiver> extension); |
// Create a block context. |
Handle<Context> NewBlockContext(Handle<JSFunction> function, |