Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1777)

Unified Diff: Source/modules/encoding/TextDecoder.h

Issue 157623002: Revert of Move encoding module to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/encoding/TextDecoder.h
diff --git a/Source/modules/encoding/TextDecoder.h b/Source/modules/encoding/TextDecoder.h
index 2d64f2acab93cdc6b33b339271c5d7e2a3f5a854..58eddcfeec554e8708b531db73f5f6f03b65495c 100644
--- a/Source/modules/encoding/TextDecoder.h
+++ b/Source/modules/encoding/TextDecoder.h
@@ -32,7 +32,6 @@
#define TextDecoder_h
#include "bindings/v8/Dictionary.h"
-#include "heap/Handle.h"
#include "wtf/ArrayBufferView.h"
#include "wtf/RefCounted.h"
#include "wtf/text/TextCodec.h"
@@ -43,10 +42,9 @@
class ExceptionState;
-class TextDecoder FINAL : public RefCountedWillBeGarbageCollectedFinalized<TextDecoder> {
- DECLARE_GC_INFO;
+class TextDecoder FINAL : public RefCounted<TextDecoder> {
public:
- static PassRefPtrWillBeRawPtr<TextDecoder> create(const String& label, const Dictionary&, ExceptionState&);
+ static PassRefPtr<TextDecoder> create(const String& label, const Dictionary&, ExceptionState&);
~TextDecoder();
// Implement the IDL
@@ -54,7 +52,8 @@
String decode(ArrayBufferView*, const Dictionary&, ExceptionState&);
String decode(ExceptionState& exceptionState) { return decode(0, Dictionary(), exceptionState); }
- void trace(Visitor*) { }
+ using RefCounted<TextDecoder>::ref;
+ using RefCounted<TextDecoder>::deref;
private:
TextDecoder(const String& encoding, bool fatal);
« no previous file with comments | « Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp ('k') | Source/modules/encoding/TextDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698