diff --git a/libcef/browser/osr/render_widget_host_view_osr.cc b/libcef/browser/osr/render_widget_host_view_osr.cc index e9d7e8874..9b0667903 100644 --- a/libcef/browser/osr/render_widget_host_view_osr.cc +++ b/libcef/browser/osr/render_widget_host_view_osr.cc @@ -659,8 +659,8 @@ gfx::Size CefRenderWidgetHostViewOSR::GetRequestedRendererSize() const { } gfx::Size CefRenderWidgetHostViewOSR::GetPhysicalBackingSize() const { - return gfx::ConvertSizeToPixel(current_device_scale_factor_, - GetRequestedRendererSize()); + return gfx::ScaleToCeiledSize(GetRequestedRendererSize(), + current_device_scale_factor_); } void CefRenderWidgetHostViewOSR::CopyFromSurface(