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

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

Issue 656073002: IDL: Use ALLOW_ONLY_INLINE_ALLOCATION() in dictionaries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/TextDecodeOptions.idl ('k') | Source/modules/filesystem/FileSystemFlags.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encoding/TextDecoder.cpp
diff --git a/Source/modules/encoding/TextDecoder.cpp b/Source/modules/encoding/TextDecoder.cpp
index 03186dcdef1c36a13680f5536c48d8da7654df00..6dd5c2b5bd45caf847ff93a1128de0d24c953f5c 100644
--- a/Source/modules/encoding/TextDecoder.cpp
+++ b/Source/modules/encoding/TextDecoder.cpp
@@ -106,8 +106,8 @@ String TextDecoder::decode(ArrayBufferView* input, const TextDecodeOptions& opti
String TextDecoder::decode(ExceptionState& exceptionState)
{
- TextDecodeOptions* options = TextDecodeOptions::create();
- return decode(0, *options, exceptionState);
+ TextDecodeOptions options;
+ return decode(0, options, exceptionState);
}
} // namespace blink
« no previous file with comments | « Source/modules/encoding/TextDecodeOptions.idl ('k') | Source/modules/filesystem/FileSystemFlags.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698