| OLD | NEW |
| 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 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 m_state = UNSENT; | 985 m_state = UNSENT; |
| 986 } | 986 } |
| 987 | 987 |
| 988 void XMLHttpRequest::clearVariablesForLoading() | 988 void XMLHttpRequest::clearVariablesForLoading() |
| 989 { | 989 { |
| 990 if (m_blobLoader) { | 990 if (m_blobLoader) { |
| 991 m_blobLoader->cancel(); | 991 m_blobLoader->cancel(); |
| 992 m_blobLoader = nullptr; | 992 m_blobLoader = nullptr; |
| 993 } | 993 } |
| 994 | 994 |
| 995 m_decoder.clear(); | 995 m_decoder.reset(); |
| 996 | 996 |
| 997 if (m_responseDocumentParser) { | 997 if (m_responseDocumentParser) { |
| 998 m_responseDocumentParser->removeClient(this); | 998 m_responseDocumentParser->removeClient(this); |
| 999 m_responseDocumentParser->detach(); | 999 m_responseDocumentParser->detach(); |
| 1000 m_responseDocumentParser = nullptr; | 1000 m_responseDocumentParser = nullptr; |
| 1001 } | 1001 } |
| 1002 | 1002 |
| 1003 m_finalResponseCharset = String(); | 1003 m_finalResponseCharset = String(); |
| 1004 } | 1004 } |
| 1005 | 1005 |
| (...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1714 visitor->trace(m_responseArrayBuffer); | 1714 visitor->trace(m_responseArrayBuffer); |
| 1715 visitor->trace(m_progressEventThrottle); | 1715 visitor->trace(m_progressEventThrottle); |
| 1716 visitor->trace(m_upload); | 1716 visitor->trace(m_upload); |
| 1717 visitor->trace(m_blobLoader); | 1717 visitor->trace(m_blobLoader); |
| 1718 XMLHttpRequestEventTarget::trace(visitor); | 1718 XMLHttpRequestEventTarget::trace(visitor); |
| 1719 DocumentParserClient::trace(visitor); | 1719 DocumentParserClient::trace(visitor); |
| 1720 ActiveDOMObject::trace(visitor); | 1720 ActiveDOMObject::trace(visitor); |
| 1721 } | 1721 } |
| 1722 | 1722 |
| 1723 } // namespace blink | 1723 } // namespace blink |
| OLD | NEW |