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

Unified Diff: runtime/vm/object.h

Issue 374573008: Fix fix -> all green. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 38033)
+++ runtime/vm/object.h (working copy)
@@ -3035,11 +3035,13 @@
class Iterator : ValueObject {
public:
explicit Iterator(const PcDescriptors& descriptors)
- : ValueObject(), descriptors_(descriptors), current_ix_(0) {}
+ : descriptors_(descriptors), current_ix_(0) {}
// For nested iterations, starting at element after.
explicit Iterator(const Iterator& iter)
- : descriptors_(iter.descriptors_), current_ix_(iter.current_ix_) {}
+ : ValueObject(),
+ descriptors_(iter.descriptors_),
+ current_ix_(iter.current_ix_) {}
bool HasNext() { return current_ix_ < descriptors_.Length(); }
« 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