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

Side by Side Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp

Issue 1892453002: Remove XMLHttpRequest's non-Oilpan support for eager finalization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2005-2007 Alexey Proskuryakov <ap@webkit.org> 3 * Copyright (C) 2005-2007 Alexey Proskuryakov <ap@webkit.org>
4 * Copyright (C) 2007, 2008 Julien Chaffraix <jchaffraix@webkit.org> 4 * Copyright (C) 2007, 2008 Julien Chaffraix <jchaffraix@webkit.org>
5 * Copyright (C) 2008, 2011 Google Inc. All rights reserved. 5 * Copyright (C) 2008, 2011 Google Inc. All rights reserved.
6 * Copyright (C) 2012 Intel Corporation 6 * Copyright (C) 2012 Intel Corporation
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 , m_async(true) 216 , m_async(true)
217 , m_includeCredentials(false) 217 , m_includeCredentials(false)
218 , m_parsedResponse(false) 218 , m_parsedResponse(false)
219 , m_error(false) 219 , m_error(false)
220 , m_uploadEventsAllowed(true) 220 , m_uploadEventsAllowed(true)
221 , m_uploadComplete(false) 221 , m_uploadComplete(false)
222 , m_sameOriginRequest(true) 222 , m_sameOriginRequest(true)
223 , m_downloadingToFile(false) 223 , m_downloadingToFile(false)
224 , m_responseTextOverflow(false) 224 , m_responseTextOverflow(false)
225 { 225 {
226 #if ENABLE(ASSERT) && !ENABLE(OILPAN)
227 // Verify that this object was allocated on the 'eager' heap.
228 // (this check comes 'for free' with Oilpan enabled.)
229 ASSERT(IS_EAGERLY_FINALIZED());
230 #endif
231 } 226 }
232 227
233 XMLHttpRequest::~XMLHttpRequest() 228 XMLHttpRequest::~XMLHttpRequest()
234 { 229 {
235 } 230 }
236 231
237 Document* XMLHttpRequest::document() const 232 Document* XMLHttpRequest::document() const
238 { 233 {
239 ASSERT(getExecutionContext()->isDocument()); 234 ASSERT(getExecutionContext()->isDocument());
240 return toDocument(getExecutionContext()); 235 return toDocument(getExecutionContext());
(...skipping 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after
1707 visitor->trace(m_responseArrayBuffer); 1702 visitor->trace(m_responseArrayBuffer);
1708 visitor->trace(m_progressEventThrottle); 1703 visitor->trace(m_progressEventThrottle);
1709 visitor->trace(m_upload); 1704 visitor->trace(m_upload);
1710 visitor->trace(m_blobLoader); 1705 visitor->trace(m_blobLoader);
1711 XMLHttpRequestEventTarget::trace(visitor); 1706 XMLHttpRequestEventTarget::trace(visitor);
1712 DocumentParserClient::trace(visitor); 1707 DocumentParserClient::trace(visitor);
1713 ActiveDOMObject::trace(visitor); 1708 ActiveDOMObject::trace(visitor);
1714 } 1709 }
1715 1710
1716 } // namespace blink 1711 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698