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

Unified Diff: third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp

Issue 1878463002: Move DOMArrayBuffer, DOMArrayBufferViews and DataView to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tidy Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp b/third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp
index 0bcd9d4f4be7251e076eb5cbb1de70e531e8e9d8..1e8fadc4072c1d0dd6975027294425df641ec4d6 100644
--- a/third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp
+++ b/third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp
@@ -258,7 +258,7 @@ private:
ScopedPersistent<v8::Value> m_reader;
RefPtr<ScriptState> m_scriptState;
WebDataConsumerHandle::Client* m_client;
- RefPtr<DOMUint8Array> m_pendingBuffer;
+ Persistent<DOMUint8Array> m_pendingBuffer;
size_t m_pendingOffset;
bool m_isReading;
bool m_isDone;

Powered by Google App Engine
This is Rietveld 408576698