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

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

Issue 2812833003: Revert of [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: Created 3 years, 8 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: third_party/WebKit/Source/modules/encoding/TextEncoder.h
diff --git a/third_party/WebKit/Source/modules/encoding/TextEncoder.h b/third_party/WebKit/Source/modules/encoding/TextEncoder.h
index 6c96710484815b478f8a1f9f43093d3316331daa..2f63a48bd87c14f282a5921f8cc1af70bac3d575 100644
--- a/third_party/WebKit/Source/modules/encoding/TextEncoder.h
+++ b/third_party/WebKit/Source/modules/encoding/TextEncoder.h
@@ -31,14 +31,13 @@
#ifndef TextEncoder_h
#define TextEncoder_h
-#include <memory>
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/DOMTypedArray.h"
-#include "core/dom/NotShared.h"
#include "platform/heap/Handle.h"
#include "wtf/text/TextCodec.h"
#include "wtf/text/TextEncoding.h"
#include "wtf/text/WTFString.h"
+#include <memory>
namespace blink {
@@ -55,7 +54,7 @@
// Implement the IDL
String encoding() const;
- NotShared<DOMUint8Array> encode(const String&);
+ DOMUint8Array* encode(const String&);
DEFINE_INLINE_TRACE() {}
« no previous file with comments | « third_party/WebKit/Source/modules/encoding/TextDecoder.cpp ('k') | third_party/WebKit/Source/modules/encoding/TextEncoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698