| Index: ui/compositor/layer.cc | 
| diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc | 
| index bbca75ab9628ca599cd35c36740f9d8af19a39bb..e71cbd594ff27677bf7f7e34fe790a97579f9b90 100644 | 
| --- a/ui/compositor/layer.cc | 
| +++ b/ui/compositor/layer.cc | 
| @@ -28,6 +28,7 @@ | 
| #include "ui/gfx/display.h" | 
| #include "ui/gfx/interpolated_transform.h" | 
| #include "ui/gfx/point3.h" | 
| +#include "ui/gfx/size_conversions.h" | 
|  | 
| namespace { | 
|  | 
| @@ -754,8 +755,8 @@ void Layer::RecomputeDrawsContentAndUVRect() { | 
| if (scale_content_) { | 
| texture_size = texture_->size(); | 
| } else { | 
| -      texture_size = | 
| -          texture_->size().Scale(1.0f / texture_->device_scale_factor()); | 
| +      texture_size = gfx::ToFlooredSize( | 
| +          texture_->size().Scale(1.0f / texture_->device_scale_factor())); | 
| } | 
|  | 
| gfx::Size size(std::min(bounds().width(), texture_size.width()), | 
|  |