Fix typo: RetainedSizeCalculator::reained_size -> retained_size

TBR=sgjesse@chromium.org

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8191 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 2373771d
...@@ -1096,7 +1096,7 @@ class RetainedSizeCalculator { ...@@ -1096,7 +1096,7 @@ class RetainedSizeCalculator {
: retained_size_(0) { : retained_size_(0) {
} }
int reained_size() const { return retained_size_; } int retained_size() const { return retained_size_; }
void Apply(HeapEntry** entry_ptr) { void Apply(HeapEntry** entry_ptr) {
if ((*entry_ptr)->painted_reachable()) { if ((*entry_ptr)->painted_reachable()) {
...@@ -1137,7 +1137,7 @@ void HeapEntry::CalculateExactRetainedSize() { ...@@ -1137,7 +1137,7 @@ void HeapEntry::CalculateExactRetainedSize() {
RetainedSizeCalculator ret_size_calc; RetainedSizeCalculator ret_size_calc;
snapshot()->IterateEntries(&ret_size_calc); snapshot()->IterateEntries(&ret_size_calc);
retained_size_ = ret_size_calc.reained_size(); retained_size_ = ret_size_calc.retained_size();
ASSERT((retained_size_ & kExactRetainedSizeTag) == 0); ASSERT((retained_size_ & kExactRetainedSizeTag) == 0);
retained_size_ |= kExactRetainedSizeTag; retained_size_ |= kExactRetainedSizeTag;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment