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

Unified Diff: third_party/WebKit/Source/platform/heap/ThreadState.h

Issue 2715713005: Verify that a new heap page isn't also marked as being off heap. (Closed)
Patch Set: Created 3 years, 10 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
Index: third_party/WebKit/Source/platform/heap/ThreadState.h
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.h b/third_party/WebKit/Source/platform/heap/ThreadState.h
index 522977f50139e45134dbd554413b56dd98d12406..37b99a4e7fc5c80a8f515da29ae0f4dda0030427 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
@@ -379,6 +379,10 @@ class PLATFORM_EXPORT ThreadState {
m_shouldFlushHeapDoesNotContainCache = true;
}
+#if DCHECK_IS_ON()
+ bool isAddressInHeapDoesNotContainCache(Address);
+#endif
+
void registerTraceDOMWrappers(
v8::Isolate* isolate,
void (*traceDOMWrappers)(v8::Isolate*, Visitor*),

Powered by Google App Engine
This is Rietveld 408576698