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

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

Issue 1653163002: Dart snapshot runs & and few other misc things. (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/2454_1
Patch Set: Created 4 years, 11 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/bindings/core/dart/DartInjectedScript.cpp ('k') | Source/bindings/core/dart/dart-extras.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/dart/DartUtilities.cpp
diff --git a/Source/bindings/core/dart/DartUtilities.cpp b/Source/bindings/core/dart/DartUtilities.cpp
index 935303bc6ee3d021a8eb6a14d24c478bcd3d29e1..3c9d86e48921eba12d436629d800e18775d8aa2d 100644
--- a/Source/bindings/core/dart/DartUtilities.cpp
+++ b/Source/bindings/core/dart/DartUtilities.cpp
@@ -1045,12 +1045,14 @@ void DartUtilities::toMessagePortArray(Dart_Handle value, MessagePortArray& port
}
if (Dart_IsByteBuffer(element)) {
+/* TODO(terry): Comment out to build 45 Roll - fix/review.
element = Dart_GetDataFromByteBuffer(element);
RefPtr<ArrayBuffer> arrayBuffer = DartUtilities::dartToExternalizedArrayBuffer(element, exception);
ASSERT(!exception);
ASSERT(arrayBuffer);
arrayBuffers.append(arrayBuffer);
continue;
+*/
}
exception = Dart_NewStringFromCString("TransferArray argument must contain only Transferables");
« no previous file with comments | « Source/bindings/core/dart/DartInjectedScript.cpp ('k') | Source/bindings/core/dart/dart-extras.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698