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
This commit is contained in:
parent
2373771d2e
commit
17d45d3537
@ -1096,7 +1096,7 @@ class RetainedSizeCalculator {
|
||||
: retained_size_(0) {
|
||||
}
|
||||
|
||||
int reained_size() const { return retained_size_; }
|
||||
int retained_size() const { return retained_size_; }
|
||||
|
||||
void Apply(HeapEntry** entry_ptr) {
|
||||
if ((*entry_ptr)->painted_reachable()) {
|
||||
@ -1137,7 +1137,7 @@ void HeapEntry::CalculateExactRetainedSize() {
|
||||
|
||||
RetainedSizeCalculator 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);
|
||||
retained_size_ |= kExactRetainedSizeTag;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user