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

Unified Diff: Source/bindings/core/v8/custom/V8FileReaderCustom.cpp

Issue 711763002: bindings: Transition from ArrayBuffer to DOMArrayBuffer, part 2 (2nd round) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixes Win x64 build. Created 6 years, 1 month 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 | « no previous file | Source/core/dom/DOMArrayBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/custom/V8FileReaderCustom.cpp
diff --git a/Source/bindings/core/v8/custom/V8FileReaderCustom.cpp b/Source/bindings/core/v8/custom/V8FileReaderCustom.cpp
index 89dfe5bb73bb7412389ff34a47d57b31a427a51b..0be4369130bfe99ed95f85aff7c02b557b22580e 100644
--- a/Source/bindings/core/v8/custom/V8FileReaderCustom.cpp
+++ b/Source/bindings/core/v8/custom/V8FileReaderCustom.cpp
@@ -42,7 +42,7 @@ void V8FileReader::resultAttributeGetterCustom(const v8::PropertyCallbackInfo<v8
v8::Handle<v8::Object> holder = info.Holder();
FileReader* impl = V8FileReader::toImpl(holder);
if (impl->readType() == FileReaderLoader::ReadAsArrayBuffer) {
- v8SetReturnValueFast(info, DOMArrayBuffer::create(impl->arrayBufferResult()), impl);
+ v8SetReturnValueFast(info, impl->arrayBufferResult(), impl);
return;
}
v8SetReturnValueStringOrNull(info, impl->stringResult(), info.GetIsolate());
« no previous file with comments | « no previous file | Source/core/dom/DOMArrayBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698