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

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

Issue 1102253002: Oilpan: keep FormData on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/FormSubmission.cpp ('k') | Source/modules/credentialmanager/Credential.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 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 send(data.getAsBlob(), exceptionState); 841 send(data.getAsBlob(), exceptionState);
842 return; 842 return;
843 } 843 }
844 844
845 if (data.isDocument()) { 845 if (data.isDocument()) {
846 send(data.getAsDocument().get(), exceptionState); 846 send(data.getAsDocument().get(), exceptionState);
847 return; 847 return;
848 } 848 }
849 849
850 if (data.isFormData()) { 850 if (data.isFormData()) {
851 send(data.getAsFormData().get(), exceptionState); 851 send(data.getAsFormData(), exceptionState);
852 return; 852 return;
853 } 853 }
854 854
855 ASSERT(data.isString()); 855 ASSERT(data.isString());
856 send(data.getAsString(), exceptionState); 856 send(data.getAsString(), exceptionState);
857 } 857 }
858 858
859 void XMLHttpRequest::send(ExceptionState& exceptionState) 859 void XMLHttpRequest::send(ExceptionState& exceptionState)
860 { 860 {
861 InspectorInstrumentation::willSendXMLHttpRequest(executionContext(), url()); 861 InspectorInstrumentation::willSendXMLHttpRequest(executionContext(), url());
(...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after
1887 visitor->trace(m_responseDocumentParser); 1887 visitor->trace(m_responseDocumentParser);
1888 visitor->trace(m_progressEventThrottle); 1888 visitor->trace(m_progressEventThrottle);
1889 visitor->trace(m_upload); 1889 visitor->trace(m_upload);
1890 visitor->trace(m_blobLoader); 1890 visitor->trace(m_blobLoader);
1891 XMLHttpRequestEventTarget::trace(visitor); 1891 XMLHttpRequestEventTarget::trace(visitor);
1892 DocumentParserClient::trace(visitor); 1892 DocumentParserClient::trace(visitor);
1893 ActiveDOMObject::trace(visitor); 1893 ActiveDOMObject::trace(visitor);
1894 } 1894 }
1895 1895
1896 } // namespace blink 1896 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/loader/FormSubmission.cpp ('k') | Source/modules/credentialmanager/Credential.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698