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

Unified Diff: runtime/embedders/openglui/common/extension.cc

Issue 14485002: Get the OpenGLUI emulator building again on the desktop. Mostly this is applying the changes here: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
« no previous file with comments | « no previous file | runtime/embedders/openglui/common/vm_glue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/embedders/openglui/common/extension.cc
===================================================================
--- runtime/embedders/openglui/common/extension.cc (revision 21990)
+++ runtime/embedders/openglui/common/extension.cc (working copy)
@@ -875,9 +875,10 @@
if (values != NULL) {
Dart_CObject result;
- result.type = Dart_CObject::kUint8Array;
- result.value.as_byte_array.values = values;
- result.value.as_byte_array.length = length;
+ result.type = Dart_CObject::kTypedData;
+ result.value.as_typed_data.type = Dart_CObject::kUint8Array;
+ result.value.as_typed_data.values = values;
+ result.value.as_typed_data.length = length;
Dart_PostCObject(reply_port_id, &result);
free(values);
// It is OK that result is destroyed when function exits.
« no previous file with comments | « no previous file | runtime/embedders/openglui/common/vm_glue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698