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 ac62bf686a1971358bb387341cd700690e2c90de..313dc6aea398d68e3f0c1cadaaa199be668c451c 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 @@ public class ServiceMessage extends Message { |
if (mPayload == null) { |
ByteBuffer truncatedBuffer = |
((ByteBuffer) getData().position(getHeader().getSize())).slice(); |
- truncatedBuffer.order(ByteOrder.nativeOrder()); |
+ truncatedBuffer.order(ByteOrder.LITTLE_ENDIAN); |
mPayload = new Message(truncatedBuffer, getHandles()); |
} |
return mPayload; |