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

Unified Diff: src/heap-profiler.cc

Issue 338014: Fix retainer profile test regression (Closed)
Patch Set: Created 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap-profiler.cc
diff --git a/src/heap-profiler.cc b/src/heap-profiler.cc
index 4f9456e174663625a8b4c5faaade1395cc0362c8..7f7cd7f1691ed08d05259ef6a40330c68afef6d2 100644
--- a/src/heap-profiler.cc
+++ b/src/heap-profiler.cc
@@ -148,7 +148,7 @@ class ReferencesExtractor : public ObjectVisitor {
inside_array_ = true;
FixedArray::cast(*o)->Iterate(this);
inside_array_ = false;
- } else {
+ } else if ((*o)->IsHeapObject()) {
profile_->StoreReference(cluster_, HeapObject::cast(*o));
}
}
« 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