Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / encoding / TextEncoder.h
index de007b2..3836778 100644 (file)
@@ -31,7 +31,7 @@
 #ifndef TextEncoder_h
 #define TextEncoder_h
 
-#include "heap/Handle.h"
+#include "platform/heap/Handle.h"
 #include "wtf/ArrayBufferView.h"
 #include "wtf/RefCounted.h"
 #include "wtf/Uint8Array.h"
@@ -44,10 +44,9 @@ namespace WebCore {
 class Dictionary;
 class ExceptionState;
 
-class TextEncoder FINAL : public RefCountedWillBeGarbageCollectedFinalized<TextEncoder> {
-    DECLARE_GC_INFO;
+class TextEncoder FINAL : public GarbageCollectedFinalized<TextEncoder> {
 public:
-    static PassRefPtrWillBeRawPtr<TextEncoder> create(const String& utfLabel, ExceptionState&);
+    static TextEncoder* create(const String& utfLabel, ExceptionState&);
     ~TextEncoder();
 
     // Implement the IDL