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

Unified Diff: src/isolate.cc

Issue 352173006: Clean up the global object naming madness. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 6 years, 6 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/objects.h » ('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 9bffca25a2ddedf955f3cb4e4642a0b4487504bd..7a66bb58f040af4fb5b2aaa512423301e88350bc 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -1307,12 +1307,12 @@ void Isolate::SetCaptureStackTraceForUncaughtExceptions(
Handle<Context> Isolate::native_context() {
- return Handle<Context>(context()->global_object()->native_context());
+ return handle(context()->native_context());
}
Handle<Context> Isolate::global_context() {
- return Handle<Context>(context()->global_object()->global_context());
+ return handle(context()->global_object()->global_context());
}
« no previous file with comments | « src/isolate.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698