DescriptionDevTools: return error when trying to load an empty (0 x 0) picture
PNGImageEncoder::encode() will refuse to encode empty-sized bitmap anyway,
so fail early by refusing to load empty-sized picture with clear diagnostic.
Also, properly reset command counter if clipping before profiling.
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197087
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||