| Index: Source/core/xmlhttprequest/XMLHttpRequest.cpp
|
| diff --git a/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/Source/core/xmlhttprequest/XMLHttpRequest.cpp
|
| index 239b35139a9d28652532e21320bec285f22c2ebf..23a3ec5b64f1be5377d2d693bcbdaac11c7ac66a 100644
|
| --- a/Source/core/xmlhttprequest/XMLHttpRequest.cpp
|
| +++ b/Source/core/xmlhttprequest/XMLHttpRequest.cpp
|
| @@ -224,6 +224,11 @@ XMLHttpRequest::XMLHttpRequest(ExecutionContext* context, PassRefPtr<SecurityOri
|
| #ifndef NDEBUG
|
| xmlHttpRequestCounter.increment();
|
| #endif
|
| +#if ENABLE(ASSERT) && !ENABLE(OILPAN)
|
| + // Verify that this object was allocated on the 'eager' heap.
|
| + // (this check comes 'for free' with Oilpan enabled.)
|
| + ASSERT(IS_EAGERLY_FINALIZED());
|
| +#endif
|
| }
|
|
|
| XMLHttpRequest::~XMLHttpRequest()
|
|
|