| Index: content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java b/content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java
|
| index ede0c2ec79e0850cd0ba5d06fedfc533ea8609a0..19eb219fd0ee4317aea02d6482b05c7d4a4ca13d 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java
|
| @@ -98,38 +98,31 @@ class MediaResourceGetter {
|
|
|
| @Override
|
| public boolean equals(Object obj) {
|
| - if (this == obj)
|
| - return true;
|
| - if (obj == null)
|
| - return false;
|
| - if (getClass() != obj.getClass())
|
| - return false;
|
| + if (this == obj) return true;
|
| + if (obj == null) return false;
|
| + if (getClass() != obj.getClass()) return false;
|
| MediaMetadata other = (MediaMetadata) obj;
|
| - if (mDurationInMilliseconds != other.mDurationInMilliseconds)
|
| - return false;
|
| - if (mHeight != other.mHeight)
|
| - return false;
|
| - if (mSuccess != other.mSuccess)
|
| - return false;
|
| - if (mWidth != other.mWidth)
|
| - return false;
|
| + if (mDurationInMilliseconds != other.mDurationInMilliseconds) return false;
|
| + if (mHeight != other.mHeight) return false;
|
| + if (mSuccess != other.mSuccess) return false;
|
| + if (mWidth != other.mWidth) return false;
|
| return true;
|
| }
|
| }
|
|
|
| @CalledByNative
|
| private static MediaMetadata extractMediaMetadata(final Context context,
|
| - final String url,
|
| - final String cookies,
|
| - final String userAgent) {
|
| + final String url,
|
| + final String cookies,
|
| + final String userAgent) {
|
| return new MediaResourceGetter().extract(
|
| context, url, cookies, userAgent);
|
| }
|
|
|
| @CalledByNative
|
| private static MediaMetadata extractMediaMetadataFromFd(int fd,
|
| - long offset,
|
| - long length) {
|
| + long offset,
|
| + long length) {
|
| return new MediaResourceGetter().extract(fd, offset, length);
|
| }
|
|
|
|
|