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

Side by Side Diff: third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp

Issue 1804043002: Revert of Remove V8RecrusionScope, cleanup call sites. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "modules/fetch/ReadableStreamDataConsumerHandle.h" 5 #include "modules/fetch/ReadableStreamDataConsumerHandle.h"
6 6
7 #include "bindings/core/v8/ExceptionState.h" 7 #include "bindings/core/v8/ExceptionState.h"
8 #include "bindings/core/v8/ReadableStreamOperations.h" 8 #include "bindings/core/v8/ReadableStreamOperations.h"
9 #include "bindings/core/v8/ScopedPersistent.h" 9 #include "bindings/core/v8/ScopedPersistent.h"
10 #include "bindings/core/v8/ScriptFunction.h" 10 #include "bindings/core/v8/ScriptFunction.h"
11 #include "bindings/core/v8/ScriptState.h" 11 #include "bindings/core/v8/ScriptState.h"
12 #include "bindings/core/v8/ScriptValue.h" 12 #include "bindings/core/v8/ScriptValue.h"
13 #include "bindings/core/v8/V8BindingMacros.h" 13 #include "bindings/core/v8/V8BindingMacros.h"
14 #include "bindings/core/v8/V8IteratorResultValue.h" 14 #include "bindings/core/v8/V8IteratorResultValue.h"
15 #include "bindings/core/v8/V8RecursionScope.h"
15 #include "bindings/core/v8/V8Uint8Array.h" 16 #include "bindings/core/v8/V8Uint8Array.h"
16 #include "core/dom/DOMTypedArray.h" 17 #include "core/dom/DOMTypedArray.h"
17 #include "public/platform/Platform.h" 18 #include "public/platform/Platform.h"
18 #include "public/platform/WebTaskRunner.h" 19 #include "public/platform/WebTaskRunner.h"
19 #include "public/platform/WebThread.h" 20 #include "public/platform/WebThread.h"
20 #include "public/platform/WebTraceLocation.h" 21 #include "public/platform/WebTraceLocation.h"
21 #include "wtf/Assertions.h" 22 #include "wtf/Assertions.h"
22 #include "wtf/Functional.h" 23 #include "wtf/Functional.h"
23 #include "wtf/RefCounted.h" 24 #include "wtf/RefCounted.h"
24 #include <algorithm> 25 #include <algorithm>
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 } 272 }
272 ReadableStreamDataConsumerHandle::~ReadableStreamDataConsumerHandle() = default; 273 ReadableStreamDataConsumerHandle::~ReadableStreamDataConsumerHandle() = default;
273 274
274 FetchDataConsumerHandle::Reader* ReadableStreamDataConsumerHandle::obtainReaderI nternal(Client* client) 275 FetchDataConsumerHandle::Reader* ReadableStreamDataConsumerHandle::obtainReaderI nternal(Client* client)
275 { 276 {
276 return new ReadingContext::ReaderImpl(m_readingContext, client); 277 return new ReadingContext::ReaderImpl(m_readingContext, client);
277 } 278 }
278 279
279 } // namespace blink 280 } // namespace blink
280 281
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698