Commit 98242491 authored by Matt Falkenhagen's avatar Matt Falkenhagen Committed by Commit Bot

loading: Remove unused method BytesConsumer::Tee().

It looks like this was accidentally added in
https://chromium-review.googlesource.com/c/chromium/src/+/1417431.

There is another blink::BytesConsumerTee() to use instead.

Change-Id: I45db617f249405c7886f0edd111e7092ea779961
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2389804Reviewed-by: default avatarYutaka Hirano <yhirano@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803810}
parent 1f8eb2a8
......@@ -16,6 +16,7 @@ namespace blink {
class DOMArrayBuffer;
class DOMArrayBufferView;
class EncodedFormData;
class ExecutionContext;
class FormDataBytesConsumer final : public BytesConsumer {
public:
......
......@@ -16,8 +16,6 @@
namespace blink {
class ExecutionContext;
// BytesConsumer represents the "consumer" side of a data pipe. A user
// can read data from it.
//
......@@ -165,14 +163,6 @@ class PLATFORM_EXPORT BytesConsumer : public GarbageCollected<BytesConsumer> {
// implementation for debug purpose.
virtual String DebugName() const = 0;
// Creates two BytesConsumer both of which represent the data sequence that
// would be read from |src| and store them to |*dest1| and |*dest2|.
// |src| must not have a client when called.
static void Tee(ExecutionContext*,
BytesConsumer* src,
BytesConsumer** dest1,
BytesConsumer** dest2);
// Returns a BytesConsumer whose state is Closed.
static BytesConsumer* CreateClosed();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment