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

Unified Diff: src/api.h

Issue 10696178: Fix bug in CompilationHandlescope constructor. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.h
diff --git a/src/api.h b/src/api.h
index 2341c4c8fc59d809e708e04337ccdb97c2401152..78b3ca051c10503c104fd9de1631c8a92ce776d5 100644
--- a/src/api.h
+++ b/src/api.h
@@ -400,7 +400,9 @@ class DeferredHandles {
DeferredHandles(DeferredHandles* next, Object** first_block_limit,
HandleScopeImplementer* impl)
: next_(next), previous_(NULL), first_block_limit_(first_block_limit),
Jakob Kummerow 2012/07/12 07:22:23 nit: While you are at it, put each of these initia
- impl_(impl) {}
+ impl_(impl) {
+ if (next != NULL) next->previous_ = this;
+ }
void Iterate(ObjectVisitor* v);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698