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

Unified Diff: src/serialize.cc

Issue 7366: Split window support from V8. ... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 12 years, 2 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/runtime.cc ('k') | src/string-stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/serialize.cc
===================================================================
--- src/serialize.cc (revision 539)
+++ src/serialize.cc (working copy)
@@ -1055,18 +1055,6 @@
HandleScopeImplementer::instance()->SaveContext(contexts[i]);
}
PutGlobalHandleStack(contexts);
-
- List<Handle<Object> > security_contexts(2);
- while (HandleScopeImplementer::instance()->HasSavedSecurityContexts()) {
- Handle<Object> context =
- HandleScopeImplementer::instance()->RestoreSecurityContext();
- security_contexts.Add(context);
- }
- for (int i = security_contexts.length() - 1; i >= 0; i--) {
- Handle<Object> context = security_contexts[i];
- HandleScopeImplementer::instance()->SaveSecurityContext(context);
- }
- PutGlobalHandleStack(security_contexts);
}
@@ -1390,12 +1378,6 @@
for (int i = 0; i < entered_contexts.length(); i++) {
HandleScopeImplementer::instance()->SaveContext(entered_contexts[i]);
}
- List<Handle<Object> > security_contexts(2);
- GetGlobalHandleStack(&security_contexts);
- for (int i = 0; i < security_contexts.length(); i++) {
- HandleScopeImplementer::instance()->
- SaveSecurityContext(security_contexts[i]);
- }
}
« no previous file with comments | « src/runtime.cc ('k') | src/string-stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698