DescriptionPrevent upscaling in desktop capture.
The previous CL landed (r238359) is missing a size check to prevent upscaling
in desktop capture. The correct logic should be to use native resolution
if both maxWidth and maxHeight are no smaller than source dimensions, and
to compute letterbox region if otherwise.
BUG=324923
TEST=trybot, Chrome OS feedback screen captures in native resolution
R=sergeyu@chromium.org
TBR=wjia@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238514
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|