| Index: third_party/WebKit/public/platform/WebDataConsumerHandle.h
|
| diff --git a/third_party/WebKit/public/platform/WebDataConsumerHandle.h b/third_party/WebKit/public/platform/WebDataConsumerHandle.h
|
| index 4632ff9ac260e7351172a781cf1e25a94d9f4f69..d1ef789ad75edf63d473ca1b95e49cc04a9277b8 100644
|
| --- a/third_party/WebKit/public/platform/WebDataConsumerHandle.h
|
| +++ b/third_party/WebKit/public/platform/WebDataConsumerHandle.h
|
| @@ -6,10 +6,7 @@
|
| #define WebDataConsumerHandle_h
|
|
|
| #include <stddef.h>
|
| -
|
| -#if INSIDE_BLINK
|
| #include <memory>
|
| -#endif
|
|
|
| #include "public/platform/WebCommon.h"
|
|
|
| @@ -103,16 +100,10 @@ public:
|
| // if |client| is not null.
|
| // If |client| is not null and the handle is not waiting, client
|
| // notification is called asynchronously.
|
| -#if INSIDE_BLINK
|
| - std::unique_ptr<Reader> obtainReader(Client*);
|
| -#endif
|
| + virtual std::unique_ptr<Reader> obtainReader(Client*) = 0;
|
|
|
| // Returns a string literal (e.g. class name) for debugging only.
|
| virtual const char* debugName() const = 0;
|
| -
|
| -private:
|
| - // The caller takes ownership of the returned object.
|
| - virtual Reader* obtainReaderInternal(Client*) = 0;
|
| };
|
|
|
| } // namespace blink
|
|
|