Packing/unpacking of width and height in gfx::Size is redundant while using CreateJav...
commitbf4cfe08b55cb97751081cd1291697c0b73e6bad
authorvivek.vg@samsung.com <vivek.vg@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 13 Feb 2014 03:00:18 +0000 (13 03:00 +0000)
committervivek.vg@samsung.com <vivek.vg@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 13 Feb 2014 03:00:18 +0000 (13 03:00 +0000)
tree7f5105fc53ef294773e2ec9ec3671fdf35edbb2b
parent4a8bc66cf238e5544d4c20fa22892ab4835b931f
Packing/unpacking of width and height in gfx::Size is redundant while using CreateJavaBitmap.

We pack width/height in ConvertToJavaBitmap into gfx::Size to be unpacked in CreateJavaBitmap
while calling the BitmapHelper.createBitmap method from Java. This is not needed and should
be called directly using width and height as is.

R=danakj

Review URL: https://codereview.chromium.org/159463004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250916 0039d316-1c4b-4281-b951-d872f2087c98
ui/gfx/android/java_bitmap.cc