[heap] Fixed typo in method name.

Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
Change-Id: Id2b474917ffd711ed30b9ae5f25ec86e13b140b5
Reviewed-on: https://chromium-review.googlesource.com/1193876
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Rodrigo Bruno <rfbpb@google.com>
Cr-Commit-Position: refs/heads/master@{#55487}
This commit is contained in:
Rodrigo Bruno 2018-08-29 13:14:26 +02:00 committed by Commit Bot
parent b477a6d5d8
commit 263174af75
2 changed files with 2 additions and 2 deletions

View File

@ -8360,7 +8360,7 @@ void Isolate::GetHeapStatistics(HeapStatistics* heap_statistics) {
isolate->allocator()->GetCurrentMemoryUsage() +
isolate->wasm_engine()->allocator()->GetCurrentMemoryUsage();
heap_statistics->external_memory_ = isolate->heap()->external_memory() +
isolate->heap()->backing_story_bytes();
isolate->heap()->backing_store_bytes();
heap_statistics->peak_malloced_memory_ =
isolate->allocator()->GetMaxMemoryUsage() +
isolate->wasm_engine()->allocator()->GetMaxMemoryUsage();

View File

@ -680,7 +680,7 @@ class Heap {
int64_t external_memory_hard_limit() { return MaxOldGenerationSize() / 2; }
int64_t external_memory() { return external_memory_; }
int64_t backing_story_bytes() const { return backing_store_bytes_; }
int64_t backing_store_bytes() const { return backing_store_bytes_; }
void update_backing_store_bytes(int64_t amount);