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

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

Issue 1878463002: Move DOMArrayBuffer, DOMArrayBufferViews and DataView to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tidy Created 4 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.cpp
diff --git a/third_party/WebKit/Source/modules/encoding/TextEncoder.cpp b/third_party/WebKit/Source/modules/encoding/TextEncoder.cpp
index 72bb04deffb1d9bac4bf2f3f8c98e2f19f122f5c..fc15a2d1bba415dc1b857a4a97cf9a631822ce31 100644
--- a/third_party/WebKit/Source/modules/encoding/TextEncoder.cpp
+++ b/third_party/WebKit/Source/modules/encoding/TextEncoder.cpp
@@ -76,7 +76,7 @@ String TextEncoder::encoding() const
return name;
}
-PassRefPtr<DOMUint8Array> TextEncoder::encode(const String& input)
+DOMUint8Array* TextEncoder::encode(const String& input)
{
CString result;
if (input.is8Bit())

Powered by Google App Engine
This is Rietveld 408576698