X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fmodules%2Fencoding%2FTextEncoder.h;h=ad73985603a82c9454cf311f2ae804812e1bda73;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=afd7f72598189d831a8c01f826802ebb1b49a4d7;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/modules/encoding/TextEncoder.h b/src/third_party/WebKit/Source/modules/encoding/TextEncoder.h index afd7f72..ad73985 100644 --- a/src/third_party/WebKit/Source/modules/encoding/TextEncoder.h +++ b/src/third_party/WebKit/Source/modules/encoding/TextEncoder.h @@ -31,27 +31,26 @@ #ifndef TextEncoder_h #define TextEncoder_h +#include "bindings/core/v8/ScriptWrappable.h" #include "platform/heap/Handle.h" #include "wtf/ArrayBufferView.h" -#include "wtf/RefCounted.h" #include "wtf/Uint8Array.h" #include "wtf/text/TextCodec.h" #include "wtf/text/TextEncoding.h" #include "wtf/text/WTFString.h" -namespace WebCore { +namespace blink { -class Dictionary; class ExceptionState; -class TextEncoder FINAL : public GarbageCollectedFinalized { +class TextEncoder FINAL : public GarbageCollectedFinalized, public ScriptWrappable { public: static TextEncoder* create(const String& utfLabel, ExceptionState&); ~TextEncoder(); // Implement the IDL String encoding() const; - PassRefPtr encode(const String&, const Dictionary&); + PassRefPtr encode(const String&); void trace(Visitor*) { } @@ -62,6 +61,6 @@ private: OwnPtr m_codec; }; -} // namespace WebCore +} // namespace blink #endif // TextEncoder_h