Index: content/renderer/browser_plugin/browser_plugin_backing_store.cc |
diff --git a/content/renderer/browser_plugin/browser_plugin_backing_store.cc b/content/renderer/browser_plugin/browser_plugin_backing_store.cc |
index e29d5b319d18a3e8e70472140026f0adf01e161f..87b771d80fd1962e3538e5aef178b9139a4f4e24 100644 |
--- a/content/renderer/browser_plugin/browser_plugin_backing_store.cc |
+++ b/content/renderer/browser_plugin/browser_plugin_backing_store.cc |
@@ -38,7 +38,7 @@ void BrowserPluginBackingStore::PaintToBackingStore( |
return; |
gfx::Rect pixel_bitmap_rect = |
- gfx::ToEnclosingRect(bitmap_rect.Scale(scale_factor_)); |
+ gfx::ToFlooredRectDeprecated(bitmap_rect.Scale(scale_factor_)); |
const int width = pixel_bitmap_rect.width(); |
const int height = pixel_bitmap_rect.height(); |