Index: mojo/apps/js/test/js_to_cpp_unittest.js |
diff --git a/mojo/apps/js/test/js_to_cpp_unittest.js b/mojo/apps/js/test/js_to_cpp_unittest.js |
index 63b5f8be936a64b0467806af37076ee2bdc9b160..b1073c80136c92577715e0ce8f0602e9e61d524c 100644 |
--- a/mojo/apps/js/test/js_to_cpp_unittest.js |
+++ b/mojo/apps/js/test/js_to_cpp_unittest.js |
@@ -98,8 +98,8 @@ define('mojo/apps/js/test/js_to_cpp_unittest', [ |
var value; |
if (offset < message.buffer.arrayBuffer.byteLength) { |
mask = 1 << (iteration % 8); |
- value = message.buffer.dataView.getUint8(offset) ^ mask; |
- message.buffer.dataView.setUint8(offset, value); |
+ value = message.buffer.getUint8(offset) ^ mask; |
+ message.buffer.setUint8(offset, value); |
return this.realAccept(message); |
} |
stopSignalled = true; |