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

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

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 2 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
« no previous file with comments | « Source/modules/encoding/TextDecoder.cpp ('k') | Source/modules/encoding/TextEncoder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encoding/TextEncoder.h
diff --git a/Source/modules/encoding/TextEncoder.h b/Source/modules/encoding/TextEncoder.h
index 722e2865af24561a76b81672bbcdd83983771763..a023c75caa21a43aa8c3ec31b6fcf5e467144aa3 100644
--- a/Source/modules/encoding/TextEncoder.h
+++ b/Source/modules/encoding/TextEncoder.h
@@ -32,9 +32,8 @@
#define TextEncoder_h
#include "bindings/core/v8/ScriptWrappable.h"
+#include "core/dom/DOMTypedArray.h"
#include "platform/heap/Handle.h"
-#include "wtf/ArrayBufferView.h"
-#include "wtf/Uint8Array.h"
#include "wtf/text/TextCodec.h"
#include "wtf/text/TextEncoding.h"
#include "wtf/text/WTFString.h"
@@ -51,7 +50,7 @@ public:
// Implement the IDL
String encoding() const;
- PassRefPtr<Uint8Array> encode(const String&);
+ PassRefPtr<DOMUint8Array> encode(const String&);
void trace(Visitor*) { }
« no previous file with comments | « Source/modules/encoding/TextDecoder.cpp ('k') | Source/modules/encoding/TextEncoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698