
/**
 * dummy
 */

#pragma once

#if ENABLE(STREAMS_API)

#include <wtf/RefCounted.h>

namespace WebCore {

// This is a dummy class needed as we cannot yet use JSBuiltinConstructor with NoInterfaceObject.
// FIXME: Find a way to remove that class.
class WritableStreamDefaultWriter FINAL : public RefCounted<WritableStreamDefaultWriter> {
public:
    static PassRefPtr<WritableStreamDefaultWriter> create() { return adoptRef(new WritableStreamDefaultWriter); }
private:
    WritableStreamDefaultWriter() { }
};

}

#endif
