Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index ed2ed33ac74a432d44e9c7d5b3e20f2fc5b325bb..c5e341c60af394a8530231ae2caf623f66a3ef43 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -643,7 +643,7 @@ class Isolate { |
} |
// Returns the global proxy object of the current context. |
- Object* global_proxy() { |
+ JSObject* global_proxy() { |
return context()->global_proxy(); |
} |
@@ -810,10 +810,10 @@ class Isolate { |
#define NATIVE_CONTEXT_FIELD_ACCESSOR(index, type, name) \ |
Handle<type> name() { \ |
- return Handle<type>(context()->native_context()->name(), this); \ |
+ return Handle<type>(native_context()->name(), this); \ |
} \ |
bool is_##name(type* value) { \ |
- return context()->native_context()->is_##name(value); \ |
+ return native_context()->is_##name(value); \ |
} |
NATIVE_CONTEXT_FIELDS(NATIVE_CONTEXT_FIELD_ACCESSOR) |
#undef NATIVE_CONTEXT_FIELD_ACCESSOR |