summaryrefslogtreecommitdiff
path: root/core/fxge/dib/fx_dib_engine_unittest.cpp
AgeCommit message (Collapse)Author
2016-08-11Fix an integer overflow in CStretchEngine constructorweili
When the source bitmap's width and height are large, the multiplication could easily overflow a signed integer. Change to use 'long long' type for calculation to avoid that. BUG=chromium:635663 Review-Url: https://codereview.chromium.org/2240723002