| Index: mojo/public/java/bindings/src/org/chromium/mojo/bindings/MessageHeader.java
|
| diff --git a/mojo/public/java/bindings/src/org/chromium/mojo/bindings/MessageHeader.java b/mojo/public/java/bindings/src/org/chromium/mojo/bindings/MessageHeader.java
|
| index ad4e10805bb40401dd491bffc80fc343c1a65cb0..dcaf86c74c497c39a847b71d1ea39fe036030f49 100644
|
| --- a/mojo/public/java/bindings/src/org/chromium/mojo/bindings/MessageHeader.java
|
| +++ b/mojo/public/java/bindings/src/org/chromium/mojo/bindings/MessageHeader.java
|
| @@ -190,19 +190,10 @@ public class MessageHeader {
|
| return false;
|
|
|
| MessageHeader other = (MessageHeader) object;
|
| - if (mDataHeader == null) {
|
| - if (other.mDataHeader != null) {
|
| - return false;
|
| - }
|
| - } else {
|
| - if (!mDataHeader.equals(other.mDataHeader)) {
|
| - return false;
|
| - }
|
| - }
|
| -
|
| - return (mFlags == other.mFlags &&
|
| - mRequestId == other.mRequestId &&
|
| - mType == other.mType);
|
| + return (BindingsHelper.equals(mDataHeader, other.mDataHeader)
|
| + && mFlags == other.mFlags
|
| + && mRequestId == other.mRequestId
|
| + && mType == other.mType);
|
| }
|
|
|
| /**
|
|
|