Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(995)

Unified Diff: src/isolate.cc

Issue 10832365: Rename Context::global to Context::global_object, (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Michael's comments. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/isolate.h ('k') | src/mark-compact.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index f539d0798808ff740f581a2d9f26e983b2fedb1a..2933c974a0e84d5b3b92de037c25e944ec63255b 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -794,7 +794,8 @@ static MayAccessDecision MayAccessPreCheck(Isolate* isolate,
// Get the native context of current top context.
// avoid using Isolate::native_context() because it uses Handle.
- Context* native_context = isolate->context()->global()->native_context();
+ Context* native_context =
+ isolate->context()->global_object()->native_context();
if (receiver_context == native_context) return YES;
if (Context::cast(receiver_context)->security_token() ==
@@ -1324,7 +1325,7 @@ bool Isolate::is_out_of_memory() {
Handle<Context> Isolate::native_context() {
- GlobalObject* global = thread_local_top()->context_->global();
+ GlobalObject* global = thread_local_top()->context_->global_object();
return Handle<Context>(global->native_context());
}
« no previous file with comments | « src/isolate.h ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698