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

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

Issue 2761693002: Wrapped PassRefPtrs in move where passed to RefPtr constructor. (Closed)
Patch Set: Added move wraps for multiple instances in 1 line. Created 3 years, 9 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
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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 m_state(kUnsent), 233 m_state(kUnsent),
234 m_responseDocument(this, nullptr), 234 m_responseDocument(this, nullptr),
235 m_lengthDownloadedToFile(0), 235 m_lengthDownloadedToFile(0),
236 m_responseArrayBuffer(this, nullptr), 236 m_responseArrayBuffer(this, nullptr),
237 m_receivedLength(0), 237 m_receivedLength(0),
238 m_exceptionCode(0), 238 m_exceptionCode(0),
239 m_progressEventThrottle( 239 m_progressEventThrottle(
240 XMLHttpRequestProgressEventThrottle::create(this)), 240 XMLHttpRequestProgressEventThrottle::create(this)),
241 m_responseTypeCode(ResponseTypeDefault), 241 m_responseTypeCode(ResponseTypeDefault),
242 m_isIsolatedWorld(isIsolatedWorld), 242 m_isIsolatedWorld(isIsolatedWorld),
243 m_isolatedWorldSecurityOrigin(isolatedWorldSecurityOrigin), 243 m_isolatedWorldSecurityOrigin(std::move(isolatedWorldSecurityOrigin)),
244 m_eventDispatchRecursionLevel(0), 244 m_eventDispatchRecursionLevel(0),
245 m_async(true), 245 m_async(true),
246 m_includeCredentials(false), 246 m_includeCredentials(false),
247 m_parsedResponse(false), 247 m_parsedResponse(false),
248 m_error(false), 248 m_error(false),
249 m_uploadEventsAllowed(true), 249 m_uploadEventsAllowed(true),
250 m_uploadComplete(false), 250 m_uploadComplete(false),
251 m_sameOriginRequest(true), 251 m_sameOriginRequest(true),
252 m_downloadingToFile(false), 252 m_downloadingToFile(false),
253 m_responseTextOverflow(false), 253 m_responseTextOverflow(false),
(...skipping 1639 matching lines...) Expand 10 before | Expand all | Expand 10 after
1893 visitor->traceWrappers(m_responseDocument); 1893 visitor->traceWrappers(m_responseDocument);
1894 visitor->traceWrappers(m_responseArrayBuffer); 1894 visitor->traceWrappers(m_responseArrayBuffer);
1895 XMLHttpRequestEventTarget::traceWrappers(visitor); 1895 XMLHttpRequestEventTarget::traceWrappers(visitor);
1896 } 1896 }
1897 1897
1898 std::ostream& operator<<(std::ostream& ostream, const XMLHttpRequest* xhr) { 1898 std::ostream& operator<<(std::ostream& ostream, const XMLHttpRequest* xhr) {
1899 return ostream << "XMLHttpRequest " << static_cast<const void*>(xhr); 1899 return ostream << "XMLHttpRequest " << static_cast<const void*>(xhr);
1900 } 1900 }
1901 1901
1902 } // namespace blink 1902 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698