Index: mojo/public/java/bindings/src/org/chromium/mojo/bindings/ServiceMessage.java |
diff --git a/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ServiceMessage.java b/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ServiceMessage.java |
index 313dc6aea398d68e3f0c1cadaaa199be668c451c..ac62bf686a1971358bb387341cd700690e2c90de 100644 |
--- a/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ServiceMessage.java |
+++ b/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ServiceMessage.java |
@@ -57,7 +57,7 @@ |
if (mPayload == null) { |
ByteBuffer truncatedBuffer = |
((ByteBuffer) getData().position(getHeader().getSize())).slice(); |
- truncatedBuffer.order(ByteOrder.LITTLE_ENDIAN); |
+ truncatedBuffer.order(ByteOrder.nativeOrder()); |
mPayload = new Message(truncatedBuffer, getHandles()); |
} |
return mPayload; |