Index: ui/base/resource/resource_bundle.cc |
diff --git a/ui/base/resource/resource_bundle.cc b/ui/base/resource/resource_bundle.cc |
index 3c03ee84722d425e806285260d9e0aec43b35624..c1687f83cf389a42394a9dc7d001fae93eb3cdcc 100644 |
--- a/ui/base/resource/resource_bundle.cc |
+++ b/ui/base/resource/resource_bundle.cc |
@@ -86,8 +86,8 @@ class ResourceBundle::ResourceBundleImageSource : public gfx::ImageSkiaSource { |
image = skia::ImageOperations::Resize( |
image, |
skia::ImageOperations::RESIZE_LANCZOS3, |
- gfx::ToFlooredInt(image.width() * scale), |
- gfx::ToFlooredInt(image.height() * scale)); |
+ gfx::ToCeiledInt(image.width() * scale), |
+ gfx::ToCeiledInt(image.height() * scale)); |
// If --highlight-missing-scaled-resources is specified, log the resource |
// id and blend the created resource with red. |
if (ShouldHighlightMissingScaledResources()) { |