Fix compilation
This commit is contained in:
parent
d09cab2e21
commit
48821a6d2a
5 changed files with 5 additions and 6 deletions
|
@ -45,7 +45,7 @@ bool FrameSubscriber::ShouldCaptureFrame(
|
|||
|
||||
gfx::Size view_size = rect.size();
|
||||
gfx::Size bitmap_size = view_size;
|
||||
const gfx::NativeView native_view = view_->GetNativeView();
|
||||
gfx::NativeView native_view = view_->GetNativeView();
|
||||
const float scale =
|
||||
display::Screen::GetScreen()->GetDisplayNearestView(native_view)
|
||||
.device_scale_factor();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue