mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix OSR resize issue with DPI scaling (fixes issue #2733)
This commit is contained in:
committed by
Marshall Greenblatt
parent
e22543f8d5
commit
f5f5127a37
@@ -1399,8 +1399,8 @@ void CefRenderWidgetHostViewOSR::UpdateFrameRate() {
|
||||
}
|
||||
|
||||
gfx::Size CefRenderWidgetHostViewOSR::SizeInPixels() {
|
||||
return gfx::ConvertSizeToPixel(current_device_scale_factor_,
|
||||
GetViewBounds().size());
|
||||
return gfx::ScaleToCeiledSize(GetViewBounds().size(),
|
||||
current_device_scale_factor_);
|
||||
}
|
||||
|
||||
#if defined(OS_MACOSX)
|
||||
|
Reference in New Issue
Block a user