Index: ui/gfx/shadow_value.cc |
diff --git a/ui/gfx/shadow_value.cc b/ui/gfx/shadow_value.cc |
index 0602c2d31b1d7b926f4334bb49e723d85e8718f9..adfe0b888af5793780288f7ad408a6a85046a600 100644 |
--- a/ui/gfx/shadow_value.cc |
+++ b/ui/gfx/shadow_value.cc |
@@ -29,7 +29,8 @@ ShadowValue::~ShadowValue() { |
} |
ShadowValue ShadowValue::Scale(float scale) const { |
- gfx::Point scaled_offset = gfx::ToFlooredPoint(offset_.Scale(scale)); |
+ gfx::Point scaled_offset = |
+ gfx::ToFlooredPoint(gfx::ScalePoint(offset_, scale)); |
return ShadowValue(scaled_offset, blur_ * scale, color_); |
} |