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

Unified Diff: runtime/vm/object.cc

Issue 2525633003: Fix some puzzling code in object.cc. (Closed)
Patch Set: Merge before committing. Created 4 years, 1 month 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.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 5e7a84491f4cc655001ed0340d0aa150b2b11472..428dfa34b299bd70cb87a437ba5eca91c0c33fa3 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -7351,7 +7351,7 @@ void Field::set_name(const String& value) const {
RawObject* Field::RawOwner() const {
- if (Original()) {
+ if (IsOriginal()) {
return raw_ptr()->owner_;
} else {
const Field& field = Field::Handle(Original());
« 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