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

Unified Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h

Issue 2448193005: [wrapper-tracing] XMLHttpRequest: Add write barriers (Closed)
Patch Set: Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h
index bb6c7d3d3bcce55a1bab131516d8480c8adef528..02b8be8501c9f4e0d8926f7bec2de36dfcd337e3 100644
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h
@@ -26,6 +26,7 @@
#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "bindings/core/v8/ScriptString.h"
#include "bindings/core/v8/ScriptWrappable.h"
+#include "bindings/core/v8/TraceWrapperMember.h"
#include "core/dom/ActiveDOMObject.h"
#include "core/dom/DocumentParserClient.h"
#include "core/loader/ThreadableLoaderClient.h"
@@ -282,8 +283,8 @@ class XMLHttpRequest final : public XMLHttpRequestEventTarget,
// using case insensitive comparison functions if needed.
AtomicString m_mimeTypeOverride;
unsigned long m_timeoutMilliseconds;
- Member<Blob> m_responseBlob;
- Member<Stream> m_responseLegacyStream;
+ TraceWrapperMember<Blob> m_responseBlob;
+ TraceWrapperMember<Stream> m_responseLegacyStream;
Member<ThreadableLoader> m_loader;
State m_state;
@@ -294,13 +295,13 @@ class XMLHttpRequest final : public XMLHttpRequestEventTarget,
std::unique_ptr<TextResourceDecoder> m_decoder;
ScriptString m_responseText;
- Member<Document> m_responseDocument;
+ TraceWrapperMember<Document> m_responseDocument;
Member<DocumentParser> m_responseDocumentParser;
RefPtr<SharedBuffer> m_binaryResponseBuilder;
long long m_lengthDownloadedToFile;
- Member<DOMArrayBuffer> m_responseArrayBuffer;
+ TraceWrapperMember<DOMArrayBuffer> m_responseArrayBuffer;
// Used for onprogress tracking
long long m_receivedLength;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698