Chromium Code Reviews
DescriptionCopyFromCompositingSurface expects a size in pixels, not DIPs.
This caused an issue where HiDPI devices would request 212x142pixels no matter what.
This changes the code to get the proper scaled dimension for the device (in case of HiDPI, this would be 424x284 if user is on a 2x device, or more accordingly).
BUG=470875
TEST=ContentBased*, SimpleThumb* unit_tests
TBR=jbauman
Committed: https://crrev.com/7898d8d28e5d02efcf161cc68ad8ce9b3d970ee2
Cr-Commit-Position: refs/heads/master@{#322705}
Patch Set 1 : Initial #Patch Set 2 : Specific scale to device #
Total comments: 4
Patch Set 3 : Added 1x -> 2x conversion #Patch Set 4 : comment nit #Patch Set 5 : added comment #Patch Set 6 : rebase #Patch Set 7 : correct rebase #
Messages
Total messages: 32 (17 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||