DescriptionNSImageRep can have a size which is not it's pixel size.
Fix conversion between NSImage to ImageSkia for when this is the case.
Also fix the unittest so that it passes on HiDPI mac and changed unittest constants to be kWidth1x, kHeight1x etc
Test=ImageMacTest.NSImageWithResizedNSImageRepToImageSkia
Bug=None
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141616
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Fix unittests such that they can run on Mac in high DPI mode #Patch Set 4 : Fix unittests such that they can run on Mac in high DPI mode #Patch Set 5 : #
Total comments: 2
Patch Set 6 : #
Total comments: 2
Patch Set 7 : #Patch Set 8 : #Patch Set 9 : #Messages
Total messages: 15 (0 generated)
|