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

Unified Diff: Source/bindings/core/dart/V8Converter.cpp

Issue 1385363002: convert TypedData to ArrayBufferView, not ArrayBuffer (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/dartium
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/dart/V8Converter.cpp
diff --git a/Source/bindings/core/dart/V8Converter.cpp b/Source/bindings/core/dart/V8Converter.cpp
index ab9de996597e875ac81c3861ae363b051c4c65c9..f974e4c46eec7586edc87dad8c84508a12a5453a 100644
--- a/Source/bindings/core/dart/V8Converter.cpp
+++ b/Source/bindings/core/dart/V8Converter.cpp
@@ -140,7 +140,7 @@ v8::Handle<v8::Value> V8Converter::toV8IfBrowserNative(DartDOMData* domData, Dar
return arrayBufferToV8(data, exception);
}
if (Dart_IsTypedData(value))
- return arrayBufferToV8(value, exception);
+ return arrayBufferViewToV8(value, exception);
// TODO(terry): Using JS Interop only arrays are converted.
/*
if (DartDOMWrapper::subtypeOf(value, DartBlob::dartClassId))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698