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

Unified Diff: third_party/WebKit/Source/platform/heap/HeapPage.cpp

Issue 2024013002: Remove asserts inserted to diagnose bug 537922 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/Source/platform/heap/HeapPage.cpp
diff --git a/third_party/WebKit/Source/platform/heap/HeapPage.cpp b/third_party/WebKit/Source/platform/heap/HeapPage.cpp
index 18e7458187c12776d8922f17bca8914ea4504b28..e6c31ff9bb3992239c1ec27418edc920c4c6b16b 100644
--- a/third_party/WebKit/Source/platform/heap/HeapPage.cpp
+++ b/third_party/WebKit/Source/platform/heap/HeapPage.cpp
@@ -924,17 +924,6 @@ void FreeList::addToFreeList(Address address, size_t size)
} else if (address[i] == reuseForbiddenZapValue) {
forbiddenCount++;
} else {
- // TODO(haraken): Remove these assertions once bug 537922 is fixed.
- HeapObjectHeader* header = reinterpret_cast<HeapObjectHeader*>(&address[i]);
- ASSERT(header->checkHeader());
- if (header->isPromptlyFreed())
- ASSERT_NOT_REACHED();
- else if (header->isFree())
- ASSERT_NOT_REACHED();
- else if (header->isDead())
- ASSERT_NOT_REACHED();
- else if (header->isMarked())
- ASSERT_NOT_REACHED();
ASSERT_NOT_REACHED();
}
}
« 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