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

Side by Side Diff: Source/core/xml/XMLHttpRequest.cpp

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/xml/DOMParser.h ('k') | Source/core/xml/XMLHttpRequestProgressEvent.h » ('j') | 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 , m_includeCredentials(false) 156 , m_includeCredentials(false)
157 , m_parsedResponse(false) 157 , m_parsedResponse(false)
158 , m_error(false) 158 , m_error(false)
159 , m_uploadEventsAllowed(true) 159 , m_uploadEventsAllowed(true)
160 , m_uploadComplete(false) 160 , m_uploadComplete(false)
161 , m_sameOriginRequest(true) 161 , m_sameOriginRequest(true)
162 { 162 {
163 #ifndef NDEBUG 163 #ifndef NDEBUG
164 xmlHttpRequestCounter.increment(); 164 xmlHttpRequestCounter.increment();
165 #endif 165 #endif
166 ScriptWrappable::init(this);
167 } 166 }
168 167
169 XMLHttpRequest::~XMLHttpRequest() 168 XMLHttpRequest::~XMLHttpRequest()
170 { 169 {
171 #ifndef NDEBUG 170 #ifndef NDEBUG
172 xmlHttpRequestCounter.decrement(); 171 xmlHttpRequestCounter.decrement();
173 #endif 172 #endif
174 } 173 }
175 174
176 Document* XMLHttpRequest::document() const 175 Document* XMLHttpRequest::document() const
(...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1515 visitor->trace(m_responseStream); 1514 visitor->trace(m_responseStream);
1516 visitor->trace(m_streamSource); 1515 visitor->trace(m_streamSource);
1517 visitor->trace(m_responseDocument); 1516 visitor->trace(m_responseDocument);
1518 visitor->trace(m_responseDocumentParser); 1517 visitor->trace(m_responseDocumentParser);
1519 visitor->trace(m_progressEventThrottle); 1518 visitor->trace(m_progressEventThrottle);
1520 visitor->trace(m_upload); 1519 visitor->trace(m_upload);
1521 XMLHttpRequestEventTarget::trace(visitor); 1520 XMLHttpRequestEventTarget::trace(visitor);
1522 } 1521 }
1523 1522
1524 } // namespace blink 1523 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/xml/DOMParser.h ('k') | Source/core/xml/XMLHttpRequestProgressEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698