remove extraneous dimension conversion

Differential Revision: D2635753

fb-gh-sync-id: dd7d965ceb90c2c4771d4d28bbc6ec9ef97eca0c
This commit is contained in:
Felix Oghină 2015-11-09 19:46:34 -08:00 committed by facebook-github-bot-4
parent c16574a0b4
commit dd8ee4ad75

View File

@ -31,12 +31,12 @@ public class DrawableWithIntrinsicSize extends ForwardingDrawable implements Dra
@Override
public int getIntrinsicWidth() {
return (int) PixelUtil.toDIPFromPixel(mImageInfo.getWidth());
return mImageInfo.getWidth();
}
@Override
public int getIntrinsicHeight() {
return (int) PixelUtil.toDIPFromPixel(mImageInfo.getHeight());
return mImageInfo.getHeight();
}
}